Configure Ubuntu VPS to send outgoing mail? - wordpress

I need to send mails from my VPS hosting a wordpress website, the outgoing mails are mainly for new users registrations and I cant find a sigle guide out there.

You can follow this guide to setup email service on Ubuntu if your VPS doesn't have it
http://jonsview.com/how-to-setup-email-services-on-ubuntu-using-postfix-tlssasl-and-dovecot
But usually if your VPS have Control panel like Plesk,cPanel ..etc... Just simple create a new email account and using it
You can also install this plugin to wordpress (optional). If you want send mail via SMTP
http://wordpress.org/extend/plugins/wp-mail-smtp/

Related

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.

How to send mails from a local webserver

I'm using vagrant which uses ubuntu to serve my Wordpress website. I simply want Wordpress to be able to send mails somehow. This is because I want to test email forms. Is there any way to do this? And how can i do this?
You can either use a tool like MailCatcher and configure your wordpress installation to use its SMTP server — it comes with an email viewer —, or use a simple tool like ssmtp which will relay your requests to an actual mail server — like GMail.

Migrated Wordpress MS to new server, it wont send mail

A while ago I moved from Knownhost to Liquidweb, migrated Cpanel / CentOS and my wordpress app (and others) has a hard time letting the PHP Mail engine send mail out from third party domains. However, it is only problematic on my existing multisite install. I have setup a new multisite to see if its a problem with the server itself
The Domain, the DB Names, etc - were all the exact same. So I cannot tell why it will not send mail (php mail function) on behalf of the administrators and third party domains. It attempts to send, it does not fire a log, but somewhere in that config it is blocked.
The same server, on a different account/domain allows mail from 3rd party domains in the phpmail funciton, both share security policies. I am at a complete loss.
Any ideas?

cpanel sending email using gmail smtp in wordpress plugin

I'm using wordpress 3.8, Mail SMTP plugin to send emails, and cpanel. In my local it works fine as my host is gmail. And once I uploaded it live I get authentication failed and I'm sure I typed my gmail username and password correctly. Is there any configuration that must be done? In cpanel perhaps? Or the plugin itself? Please help out. Any help would be great. Thanks.
Can you please check you server is configurations done as per Googles Settings if your want to send mail through Google servers?
Add MX entries for Google Apps In server
Google SMTP email settings in Plugin
Otherwise you need to check the possibilities of your server to send email.
Domain & Server capability Checking , SMTP settings

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

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

Resources