Join Stack Overflow to learn, share knowledge, and build your career. Connect and share knowledge within a single location that is structured and easy to search. I've specified the FROM from example. The SMTP feature of gmail isn't intended to be an open or relay service. If it allowed any values for the From header, it would significantly dilute Google's standing with spam services, as there would be no way to verify the credentials of the sender. You need to consider alternatives. It was suggested that GMail does allow sending via different addresses. As far as I can tell, this is for sending via the GMail wep app, and utilises your existing external SMTP server, which is not relevant to the original question. Google have withdrawn their free GMail for domains.
What Is An SMTP Server?
Virtual Dedicated Servers (VDS)
Get set up in minutes and reach the inbox with confidence. Ensure every email lands where it's supposed to. Verify that an email address from your list actually exists. The email marketing solution for fast-moving teams. Attempted delivery of up to 15 million emails in a single hour, guaranteed. Predict deliverability issues and take action to improve performance. Partner with an email expert to improve your deliverability. Grow an enterprise email program with deliverability in mind. Land your emails in the inbox with deliverability features. Get started in seconds with robust email delivery through SMTP.
Virtual Private Servers (VPS)
Asia Region now available. Only Promotional VPS left. Premium Support Experience for every customer is one Contabo cornerstones.
Your WordPress site sends emails to notify you of new user registration , lost password reset , automatic updates, and even notifications from your contact forms. Most WordPress hosting companies restrict usage of this function to prevent abuse and spam. Spam filters on popular email service providers check incoming emails to monitor if they are sent from authentic mail servers. Default WordPress emails fail this check and sometimes may not even make it to the spam folder. If you just want to send WordPress notification emails to yourself and few users on your site, then Gmail SMTP servers are the best option. However, if you are planning on sending newsletter emails using WordPress, then you should use a mass emailing service provider, like Sendinblue or Mailgun. You can use your free Gmail account to send out WordPress emails. However, for better deliverability, we recommend using paid G Suite.