Email not sending to email address with the same domain - wordpress

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

Related

Transactional smtp email service sender

Unfortunately, I seem to be very confuse about how transactional email services work (or smtp servers in general).
I set up my WordPress site to send email using Mailgun as the mailer. I have configured in mailgun with my own domain, so the sender email address ("from") is test#mydomain.com.
Mydomain.com also has its own inbox in gmail. This is where I'm confused. Does the email sent through mailgun would have any record in the gmail server? or these are two different things and is only the domain that is used to send an email, No connection to the gmail server at all?
The email sent through mailgun would not be recorded by the gmail server.
Mailgun is acting as an independent mail transfer agent, via SMTP, for your WordPress emails.
Here's an article on how to forward you mailgun emails to your gmail.

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

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.

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.

SMTP and A record

I am a front-end developer so the server stuff goes a bit over my head. Please excuse me if the question is dumb.
I am hosting a wordpress site on our server with contact form 7, but we only have a A-records for www pointing to our site. The email management for said domain is held by a third party.
How is contact form sending the emails to the admins? It is using our hosts SMTP service? I am asking because I am getting the emails on gmail, but the client is not receiving them on his service.
Thank you!
When your server is sending email without you configuring anything, the most likely cause is that it is using the server itself. For that, it does not need to "know" any DNS entries, as it just connects to localhost, which always points to the server itself.
When you receive the mail, and your client is not, this is most likely the result of a spam filter. Have you asked your client to check the spam folder?
The problem of - mainly - shared hosting servers is that they tend to end up on spam lists like that of spamhaus.org etc. which greatly enhances your risk to end up in the spam folder. If you control the server, you could request deblocking or even whitelisting your server, but before you do that, you should be certain that your server is not inadvertedly relaying mail because of a misconfiguation, vulnerability, or outright being hacked. Your applications or the server itself could be configured to use an external smtp server, but that's not something that's easily explained here. Maybe try on serverfault.com?

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 ?

Resources