how to disable nginx mail for one of server blocks only? - nginx

I want to disable nginx mail for one of the server blocks (virtual hosts) on the server where a wordpress blog is running, so when the wordpress blog tries to send an email, the server won't send it. I searched over the Net for a while but I didn't find any solutions.

I don't think nginx play any role when the wordpress send an email here. Why don't disable all email notifications from wordpress?
Where is a thread on the wordpress phorum dealing with the issue:
http://wordpress.org/support/topic/turn-off-email-notifications

Related

Wordpress Emails Sending To Wrong Mail Server

Using Contact Form 7 on Wordpress (or other contact plugins) it sends the email to the wrong email server.
A few months ago the non-profit I work for switched from the email integrated with BlueHost to G-Suite for non-profits. When someone fills out a form on our website though it sends to our old email server. So we miss any messages coming through our website. All other mail sends and receives correctly through Gmail. It is only mail sent from our Wordpress site. I have tried other form plugins and they have the same issue.
I have tried searching for a solution but I haven't been able to find answers. I assume it is an issue with Wordpress or Bluehost, but I don't know where to start.
Figured it out. The issue ended up being with the web host (even though they blamed CloudFlare). The mail DNS was setup properly through CloudFlare. However, since it hadn't been changed through BlueHost's DNS settings, it was still sending to the wrong mail server.

not receiving emails sent in form from my server - wordpress site

I have a website hosted in bluehost, and my domain is managed elsewhere. the domain is pointing to my host with IP a record (and not NS).
I have several forms in my website, on submit they are being sent to multiple email addresses, and email addresses under my domain ("mydomain.com") are not received.
Other mails on other domain are being received with no special issue.
When I install SMTP plugin in WordPress (currently using WP Mail SMTP) I can enable one email address that will be the sender ("info#mydomain.com") and it works.
but i have several forms that need to be sent from different email addresses -
for one form it needs to "info#mydomain.com",
for another form it needs to be "support#mydomain.com", etc.
Why does this happen? and how can I solve this? how can I make my email provider (gsuit gmail) accept all email addresses under my domain?
(changing the NS is not an option)
Thanks in advance

How to setup email with AWS Lightsail

I've recently hosted my wordpress website through AWS Lightsail. The site has a contact form and a newsletter, but neither are working. I'm also unable to send a password reset email through wordpress, receiving a message that the host may have disabled the mail() function.
How do I setup email on my website? Is it handled through the domain or the host? I've read that I may need to sign up for AWS SES, however I'm unsure how to proceed. My client has also informed me that they have Outlook 365 setup for the domain, but I'm unsure where that fits in.
Apologies for the vagueness. I'm new to hosting websites online, and have been unable to find any useful tutorials/resources so any help would be greatly appreciated.
I would suggest not hosting your client's email through your Lightsail server. There are a lot of extra headaches to consider and there are other services that are more reliable and offer a better more robust user interface than the options available on server.
To get your client a custom domainname email address (ie joe#domainname.com) here are two options:
Zoho -
Cost: FREE
You can sign up here: https://www.zoho.com/workplace/pricing.html?src=zmail
You need to verify the domain name for this to work (either by adding an HTML file to the site or a CNAME to the domain)
GSuite by Google - Cost: $5/user/month
You can sign up here: https://inbox.google.com/u/0/search/google%20suite#m_-1052842142248281614_
You can also get some good promotional codes to get 20% off the first year - here's one: 9746YLRVNWERPAH
And, to your question about making sure forgot password emails are sent, make sure sendmail is installed on the server (apt-get install sendmail), that the /etc/hosts file contains the following
127.0.0.1 localhost localhost.localdomain yourhostnamehere
and that port 25 is open on the server.

the email could not be sent in wordpress

I have issue with sending mail to users when they register and submit for reset password as well
The error shows
the email could not be sent. possible reason: your host may have disabled the mail() function.
Set SMTP settings in WP configuration, don't use mail() function.
And here you should configure your SMTP(gmail account for example):
More here: https://www.anphira.com/wordpress/fix-wordpress-mail/
Its can be a server side issue, Im also having this problem on webmin virtualmin but the best way to fix if your mail server not working fine you can take a look on postman smtp plugin its perfect and working good on all Wordpress sites.

wordpress email sending to spam folder

I am a WordPress developer since 3 years, I worked for
http://fort.parksandbraxton.com/
http://tampa.parksandbraxton.com/
I worked for above 2 wordpress websites, I used contact from 7 ,but every time when a website visitor was sending email through contact form, it was going to spam folder. I used others plugin like fromcraft3 instead of contact from 7. That was sending email to spam folder too. Is that host gator server issue or subdomain issue?
Hostgator would most likely be the issue. Assumign you're on a shared hosting plan, someone else on the account is probably sending out spam via the server and got the IP address flagged for spam.
Try sending email using SMTP rather than using the php mail() function.

Resources