the site in digitalocean doesn't send letters to the email - wordpress

I have a site in digitalocean hosting and I have some problems sending email from this site.
My site built at wordpress and I'm trying to submit an application to email. It worked on my localhost and my on my server https://cp.beget.com/ but as soon as I transferred it on https://www.digitalocean.com/ it immediately stopped working.
I have a small php script for send emails and it works correctly also I tried change admin email in main wp settings but I havу not received confirm letter on my email.
Server using ubuntu and i set everything up on it for email send and tested this through postfix and it worked correctly.
Maybe someone had this problem and know how it fix

It is better to use SMTP instead of relying php's sendmail which may get blocked on some hosting companies.
You can use the Post SMTP Mailer plugin to overcome this problem.
Just create a new email account at digitalocean and use its smtp server as the outgoing server address at the SMTP plugin. Usually it will be mail.yourdomain.com. Outgoing port can be 25 or 587.

Related

Email not sending to email address with the same domain

Our website is not sending contact form 7 email to address that have the same domain in the email address.
I have faced this problem couple of times in the past.
In my case all of the times it was the server not sending actual mail to email using the same domain. Though the emaill is hosted on someplace else.
Please contact host support to find out if your server is actually sending mails when the recipient is the same domain.
There is also an option in my WHM to stop sending mails on same domain, you might need to turn that off

How to prevent mail from Wordpress website from being flagged as spam on Exchange online server

I have a website; let's call it abc.com. It's e-mail is handled by Office365. I recently migrated it from a Sharepoint environment to a different webhost (GoDaddy). I have tried using the WP Mail SMTP plugin option to send e-mails, but it fails to send.
My settings are:
smtp: smtp.office365.com
port: 587
encryption: use TLS
authentication: use smtp
Sending fails with the error:
SMTP ERROR: Failed to connect to server: Connection refused (111)
Using the default wp mail with the settings below works to send to e-mail addresses outside the domain, but messages get flagged as spam on addresses within the domain.
header = 'From: '.get_option('blogname').' <wordpress#abc.com>'
I have e-mail routing set to Remote Mail Exchanger. I've tried adding the address wordpress#abc.com to Exchange's allowed list/whitelist, and I even tried adding the host IP to trusted IPs on the server - but it still doesn't work.
As far as I'm aware, GoDaddy do not let you send mail to external SMTP providers. If you're not able to choose another host (which I'd recommend if you can!), you'll need to use wp mail and send all mail to a local address at the same domain, hosted with GoDaddy.
If you wanted to, you could then set up an alias to send it elsewhere.
There's some more background on this over at wordpress.org, such as this thread and this thread.
EDIT
Just realised that the Postman SMTP plugin claims it can get around GoDaddy's filtering using HTTPS:
"Even hosts that block the standard SMTP ports, like GoDaddy or Bluehost, can't stop your email as Postman can deliver via HTTPS if it can't use SMTP."
So maybe give that plugin a go instead. :)
I ended up using the default wp mail.On the client o365 admin I added the email address to the whitelist. Made the mail rule priority over the default spam filter rule.I even went a step further to whitelist the IP but that's overkill I think.

Able to send email via SMTP from localhost, but not in production

What could be possible reasons why my app cannot send emails once it's moved to the production environment?
I'm using my private e-mail address to send these emails and I learned via admin that the server is not blocking this. What would be other issues to look for?

Drupal ( NO SMTP Capability )

Ive setup drupal 7 in my work place where we dont have an internet access nor outgoing mail. We can mail ourselves internally only( Registered in the Exchage/Mail Domain).
I am using XAMPP to handle MySQL, Apache and Mercury but I cannot figure out how to send the confirmation mail of drupal, also the password resets to the valid mail of the user using my Internal Mail as the SMTP. Any help?
I can only also access the internet thru a proxy IP and Port that was given to me recently, so I was thinking of using free mail accounts.
Have you setup your smtp server in /xmpp/php/php.ini ?

How to send Email through ASP.net using localhost

I am creating a banking application in asp.net v 2.0.I need to send confirmation email when a user creates the new account.
I am running the application in localhost.DO I need any special rights to send SMTP email?
provide me a proper way to send email from my application.
Regards
Jeyaganesh
Do you have a SMTP server set up on localhost? Test by using telnet on the server:
telnet 127.0.0.1 25
If the server responds, try sending raw SMTP commands to send an email and trouble-shoot from there.
I find the easiest way with the Microsoft SMTP server is to disable any checks for authentication and rely on relay restrictions, then restrict relaying to 127.0.0.1.
The fact that you're running on localhost shouldn't make any difference.
As long as you have valid email server settings, and it's allowed on the system you are running on, this works just fine.
Did you try it? Did you have a problem?
I think you can sent by gmail smtp server. check this out
http://csharpdotnetfreak.blogspot.com/2009/08/send-email-using-gmail-in-aspnet.html

Resources