How to Use the Gmail SMTP Server to Send Emails for Free (2024)

Most people know Gmail for its clean interface and useful features, like search operators and add-ons. But you can also use Gmail for more: the Gmail SMTP server.

With the Gmail SMTP server, you’ll be able to send emails from your Gmail account using other email clients, such as Outlook or Thunderbird. But more importantly, you can also use Gmail’s SMTP server to send emails from your WordPress site. For free!

This is a really great way to make your WordPress site’s emails more reliable without needing to spend money on a dedicated email sending service. Gmail lets you send up to 500 emails per day, which is more than enough for the vast majority of WordPress sites.

In this post, we’ll cover everything you need to know about the Gmail SMTP server including:

Check Out Our Video Guide to Using the Gmail SMTP Server to Send Emails for Free

How to Find the SMTP Server for Gmail

Let’s start with the most important question – what is the Gmail SMTP server?

To find the Gmail SMTP server, you can use these details:

  • Gmail SMTP server address: smtp.gmail.com
  • Gmail SMTP name: Your full name
  • Gmail SMTP username: Your full Gmail address (e.g. [emailprotected])
  • Gmail SMTP password: The password that you use to log in to Gmail
  • Gmail SMTP port (TLS): 587
  • Gmail SMTP port (SSL): 465

There are also some other common (but not universal) Gmail SMTP settings you might find when trying to set things up. Here’s how to answer them if you encounter them:

  • Requires SSL: Yes
  • Requires TLS: Yes
  • Requires authentication / Use authentication: Yes
  • Requires secure connection / Use secure connection: Yes

Gmail SMTP Server FAQs

Before diving in, let’s answer some common questions about Gmail SMTP server.

What Is the Gmail SMTP Server Address?

As we detailed above, the default server address is smtp.gmail.com. You can log in using your full Gmail email address and your Google password.

Can I Use the Gmail SMTP Server for Sending Email?

Yes! You can. If you’re using other email clients, such as Thunderbird or Outlook, you can use the Gmail SMTP server details to still send emails via your Gmail account.

However, remember that SMTP is just for sending email. If you want to also receive emails to your Gmail account in another email client, you’ll need to use POP3 or IMAP. You can find these settings by opening your Gmail settings and going to the Forwarding and POP/IMAP tab.

Can I Use the Gmail SMTP Server to Send WordPress Transactional Emails?

Also yes! WordPress sends a lot of basic transactional emails for things like password resets, notifications, etc. and you can deliver all of those emails using the Gmail SMTP server.

With just a free Gmail account, you’ll be able to send up to 500 emails per day, which is significantly higher than the limits that other free SMTP servers apply.

If you have a paid Google Workspace account (formerly G Suite), Google will raise your limit even higher and let you send up to 2,000 emails per day. You’ll also be able to send emails from your own custom domain name instead of your Gmail address. That is, you can send from [emailprotected] instead of [emailprotected]. To do so, you’ll also need to set up Google Workspace MX records to connect your Google Workspace account to your custom domain name.

Note: Technically, the sending limits aren’t “per day”. Instead, the limits apply to a “rolling 24 hour period”. For example, you couldn’t send 500 emails at 11:59 PM on Monday and then another 500 emails at 12:01 AM on Tuesday.

Does the Gmail SMTP Server Still Work With Two-Factor Authentication?

Yes! You can use the SMTP server even if you’ve enabled two-factor authentication on your Google account. However, you will need to generate an app password so that the app can still connect.

You can generate an app password by visiting this page while logged into your Google account.

However, if you want to use Gmail’s SMTP server to send your WordPress site’s emails, we don’t recommend using this approach. Instead, you should use the Gmail API method that we’ll detail in the tutorial below. This lets you send emails using Gmail’s API instead of just entering the SMTP server details, which also has the benefit of avoiding problems with two-factor authentication.

How to Configure WordPress to Send Emails via Gmail SMTP Server

Now, let’s get into how you can use the Gmail SMTP server to send your WordPress site’s transactional emails for free. This method works great and will improve the reliability of your site’s emails over using the default PHP mail method.

To set this up, you’ll need to create a Google app so that you can connect to the Gmail SMTP server via the API instead of just plugging in the SMTP details. There are a good number of steps involved in doing this. This is just a one-time setup process. That is, once you take the 30-60 minutes to go through this setup, your site will continue to benefit on autopilot.

In addition to creating a Google app, you’ll also need the help of a WordPress SMTP plugin. We’re going to use the free Post SMTP Mailer/Email Log plugin, but the free WP Mail SMTP plugin is also another good option that supports the Gmail API.

The basic process goes like this:

  1. Install the Post SMTP Mailer/Email Log plugin (you need to do this first to get the URLs to use in your Google app).
  2. Create a Google app. This is the most complicated part of the process, but we’ll guide you through every step.
  3. Add your Google app API keys to the Post SMTP Mailer/Email Log settings.
  4. Send a test email to make sure everything is working.

Note – this tutorial is focused on using a free Gmail account. However, you can follow a similar process to configure your site to send emails via your Google Workspace (G Suite) account.

1. Install and Configure Post SMTP Mailer/Email Log

To get started, you need to install and activate the free Post SMTP Mailer/Email Log plugin from WordPress.org. This is what lets you configure your WordPress site to send emails via the Gmail API/SMTP server.

After activating the plugin, go to the Post SMTP tab in your WordPress dashboard and click the Show All Settings link underneath the big Start the Wizard button.

Then, go to the Message tab and set your “from” email address and name. You can use your Gmail address as the “from” email, or you could use a different email address if you prefer.

Next, go back to the Account tab and choose Gmail API in the Type drop-down. Once you make this choice, you should see some additional options in the Authentication box below. Keep this page open because you’re going to need the Authorized JavaScript origins and Authorized redirect URI details in the next step:

How to Use the Gmail SMTP Server to Send Emails for Free (1)

2. Create Your Google App

Now, you need to create a Google app. This is what allows your WordPress site to securely send emails via the Gmail API. Again, this is definitely the most complicated part of this process. However, it’s mainly just clicking lots of buttons, and we’ll give you all the steps/screenshots you need to make it through.

Create a Project

To get started, open a new tab and copy this URL to go to the Google Developers Console. There, you need to create a new project. If it’s your first time logging into the Developers Console, Google will prompt you to create your first project. Or, if you already have some projects, you can create a new one by clicking the dropdown in the top-left corner (marked by [1] in the screenshot below).

How to Use the Gmail SMTP Server to Send Emails for Free (2)

Enable the Gmail API

Once you’ve created your project, click the button to Enable APIs and Services(shown in the screenshot above).

On the next screen, search for “Gmail” and choose the Gmail API result:

How to Use the Gmail SMTP Server to Send Emails for Free (3)

Then, click Enable in the full Gmail API page:

How to Use the Gmail SMTP Server to Send Emails for Free (4)

Create Credentials

Now, you should be in a dedicated interface for the Gmail API. Click the button to Create Credentials:

Sign Up For the Newsletter

Want to know how we increased our traffic over 1000%?

Join 20,000+ others who get our weekly newsletter with insider WordPress tips!

Subscribe Now

How to Use the Gmail SMTP Server to Send Emails for Free (5)

Fill out the Find out what credentials you need form using the following information:

  • Which API are you using? Gmail API
  • Where will you be calling the API from? Web browser (JavaScript)
  • What data will you be accessing? User data

Once you’ve done that, click the What credentials do I need? button at the bottom.

How to Use the Gmail SMTP Server to Send Emails for Free (6)

Set Up a Consent Screen

Now, Google will prompt you that you need to set up a consent screen. This is the same type of authorization screen that you see when you use Google to sign up/login to a site.

You need to do this to satisfy Google’s requirements, but you don’t need to worry about the information that you enter because you’ll only be using this for your own WordPress site.

Click the button to Set Up Consent Screen:

How to Use the Gmail SMTP Server to Send Emails for Free (7)

This should open a new tab where you can configure an OAuth consent screen (keep the original browser tab handy because you’ll need to go back to it in a second). Under User Type, select External. Then, click Create:

How to Use the Gmail SMTP Server to Send Emails for Free (8)

On the next screen, enter basic details for your site. Again – you don’t need to worry about what you put here because you’re the only person who will see this information.

How to Use the Gmail SMTP Server to Send Emails for Free (9)

Once you’ve added the information, click Save at the bottom.

Finish Adding Credentials to Your Project

Now, go back to the tab that contains the Add credentials to your project interface and enter the following information:

  • Name – the name of your website (or anything else that’s easy to remember).
  • Authorized JavaScript origins – you can find this in the Post SMTP Mailer/Email Log plugin (Step #1).
  • Authorized redirect URIs – you can find this in the Post SMTP Mailer/Email Log plugin (Step #1).
How to Use the Gmail SMTP Server to Send Emails for Free (10)

Once you’ve added everything, click Refresh. Then, the Refresh button should change to Create OAuth client ID – click that to finish the process and then click Done.

Tired of a slow host for your WordPress site? We provide blazing fast servers and 24/7 world-class support from WordPress experts. Check out our plans

Now you’re almost finished!

Once you click Done, you should see a section for OAuth 2.0 Client IDs in the Credentials tab of your project (which should automatically open after you click Done).

Click on the entry for the name that you just created:

How to Use the Gmail SMTP Server to Send Emails for Free (11)

Now, you just need to find two pieces of information:

  • Client ID
  • Client secret

Keep these values accessible because you’re going to need them in the next step:

How to Use the Gmail SMTP Server to Send Emails for Free (12)

3. Add Gmail App Client IDs to Post SMTP Mailer/Email Log

To finish the setup, go back to the Post SMTP Mailer/Email Log settings in your WordPress dashboard and paste in the Client ID and Client secret from the previous step. Then, make sure to save your changes:

How to Use the Gmail SMTP Server to Send Emails for Free (13)

Then, the plugin should prompt you to Grant permission with Google:

How to Use the Gmail SMTP Server to Send Emails for Free (14)

Clicking that link will open the normal Google authorization process (again, just as if you were registering for a site using Google sign-on). However, because you didn’t submit your app to Google for review, Google will show you a warning that “This app isn’t verified”.

Because this is your own app, you can safely ignore the warning. Click the option to show advanced settings and then click Go to “yourwebsite.com” (unsafe) link to continue the authorization process:

How to Use the Gmail SMTP Server to Send Emails for Free (15)

You’ll now go through the regular process. Make sure to choose the option to Allow your WordPress site to have access to your Gmail account. It needs these permissions to send emails via the Gmail SMTP server.

And that’s it! There were quite a few steps, but you’re now pretty much finished.

4. Send a Test Email

To make sure everything is working, Post SMTP Mailer/Email Log includes an option to send a test email. You can access this from the main settings page:

How to Use the Gmail SMTP Server to Send Emails for Free (16)

You can enter the email that you want to send a test message to.

Then, you should see a success message in the plugin’s settings:

How to Use the Gmail SMTP Server to Send Emails for Free (17)

And if you go to your email inbox, you should also see a test email:

How to Use the Gmail SMTP Server to Send Emails for Free (18)

If all goes well, you’re finished.

Your WordPress site will now send all of its emails using the Gmail SMTP server. You can make sure that this is happening by going to Post SMTP → Email Log. This will list all of the emails that your site sends (along with any errors if the plugin encounters problems):

How to Use the Gmail SMTP Server to Send Emails for Free (19)

Summary

The Gmail SMTP server lets you send emails using your Gmail account and Google’s servers.

One option here is to configure third-party email clients, such as Thunderbird or Outlook, to send emails via your Gmail account. The default Gmail SMTP details are as follows:

  • Gmail SMTP server address: smtp.gmail.com
  • Gmail SMTP name: Your full name
  • Gmail SMTP username: Your full Gmail address (e.g. [emailprotected])
  • Gmail SMTP password: The password that you use to log in to Gmail
  • Gmail SMTP port (TLS): 587
  • Gmail SMTP port (SSL): 465

Another option is to use Gmail to send your WordPress site’s transactional emails. With a limit of 500 emails per day, Gmail’s free sending limits are significantly higher than other free SMTP services such as SendGrid or Mailgun.

However, if you’re doing this, you should send emails via the Gmail API instead of just using the SMTP server details.

While setting up an app to use the Gmail API does add some one-time complexity to the process, it’s worth the effort because it gives you a reliable and secure way to send your site’s emails.

Now that you’re all set, check out our list of Gmail add-ons to enhance your e-mail productivity.

Do you still have any questions about the Gmail SMTP server or how you can use it with WordPress? Ask us in the comments!

Get all your applications, databases and WordPress sites online and under one roof. Our feature-packed, high-performance cloud platform includes:

  • Easy setup and management in the MyKinsta dashboard
  • 24/7 expert support
  • The best Google Cloud Platform hardware and network, powered by Kubernetes for maximum scalability
  • An enterprise-level Cloudflare integration for speed and security
  • Global audience reach with up to 35 data centers and 275+ PoPs worldwide

Test it yourself with $20 off your first month of Application Hosting or Database Hosting. Explore our plans or talk to sales to find your best fit.

How to Use the Gmail SMTP Server to Send Emails for Free (2024)

FAQs

Can I use Gmail SMTP server for sending mail? ›

Option 2: Send email with the Gmail SMTP server. If you connect using SSL or TLS, you can send email to anyone inside or outside of your organization using smtp.gmail.com as your SMTP server. This option requires you to authenticate with your Gmail or Google Workspace account and passwords.

Can I use SMTP for free? ›

Google's free SMTP service is reliable and offers great email deliverability for Gmail users, so your emails won't end up in the spam folder. Pricing: Google offers its free SMTP server solution for a 14-day trial period.

How do I enable SMTP for Gmail? ›

Configuring Custom SMTP Settings for Gmail

In the left-hand sidebar menu, click on 'SMTP Overrides. ' Ensure that the email address and authentication username match your Google App's email address. The password will be your Google/Gmail password if you do not have multi-factor authentication turned on.

What is the best free SMTP server? ›

#1) Sendinblue

Sendinblue is the best SMTP email service provider on the market. Sendinblue provides a platform for SMTP, email marketing, SMS, and marketing automation. With SMTP, it helps in optimizing transactional emails and ensures on-time delivery.

Does Google offer free email hosting? ›

Enable Gmail To Work With Your Custom Email Domain (Free) This option, which is the free option, allows you to enjoy all the great features that come with a regular Gmail account while sending emails from your email domain for free. Before you can do this, you'll need to first have email hosting from a provider.

How do I use Gmail SMTP 2022? ›

Enter the following information:
  1. Email Address: {your email address}
  2. Hostname: smtp.gmail.com.
  3. Port: 587.
  4. Username: {your Gmail address}
  5. Password: {your Gmail app-specific password}
  6. Security Protocol: TLS.
24 Aug 2022

Can I setup my own SMTP server? ›

You can use a hosted SMTP relay service that provides scalable email relaying capabilities right out of the box. Or you can setup your own SMTP server, by building on top of an open source SMTP server solution.

Do I need SMTP server to send email? ›

Why are SMTP servers important? Without an SMTP server, your email wouldn't make it to its destination. Once you hit Send, your email transforms into a string of code sent to the SMTP server. The SMTP server processes that code and passes on the message.

How much does SMTP cost? ›

SMTP.com Pricing
NamePriceFeatures
Essential$25/month50,000 emails Shared IP 24/7 Phone support
Starter$80/month100,000 emails Dedicated IP 24/7 Phone support
Growth$300/month500,000 emails Dedicated IP 24/7 Phone support
Enterprise$500 /month1,000,000 emails Deliverability expert access Dedicated IP 24/7 Phone support
13 Nov 2020

Did Google disable SMTP? ›

Up until now, it was possible to send emails through Gmail SMTP with this setting turned on. Now, Google has decided to begin phasing out Less Secure Apps from May 30th, 2022.

How can I send 5000 emails for free? ›

Here's all you need to know:
  1. Step 1: Make sure you've installed Right Inbox. ...
  2. Step 2: Once you've signed up for Right Inbox open Up your Gmail account. ...
  3. Step 5: Add your email copy for this mail merge. ...
  4. Step 6: Preview the emails in the mail merge. ...
  5. Step 7: Enable/ disable email tracking and the send rate for this campaign.
18 Mar 2022

Why is my SMTP server not sending emails? ›

Check whether there is network access from CSO to the SMTP server. Check whether the firewall is blocking SMTP traffic to SMTP server or whether the ports are blocked. If the server settings and authentication settings are correct, check whether the firewall is blocking port 587 and 465 and SMTP traffic.

What is Gmail SMTP server port? ›

Port: 993. Outgoing Mail (SMTP) Server. smtp.gmail.com.

How can I send 1000 emails for free? ›

Let's learn how to send 10,000 emails at once with this step-by-step guide.
  1. Step 1: Choose a reliable bulk email service. ...
  2. Step 2: Choose the right pricing plan. ...
  3. Step 3: Collect subscribers or upload your mailing list. ...
  4. Step 4: Create an email template. ...
  5. Step 5: Send or schedule an email campaign. ...
  6. Step 6: Track statistics.
2 Dec 2020

How do I create a free email server? ›

6 Best “Free” Email Hosting Services
  1. Zoho Mail. Probably the closest competitor to Google Workspace on this list, Zoho Mail boasts powerful email services as the flagship of a larger suite of productivity tools. ...
  2. Yandex. ...
  3. Migadu. ...
  4. Mail.com. ...
  5. GMX Mail. ...
  6. ImprovMX.
11 Mar 2022

Is Gmail still free in 2022? ›

It's completely free to sign up for Gmail and create a Gmail address of your own. With that free account, you can send and receive emails with up to 15 GB of storage.

How much does it cost to host email on Gmail? ›

Custom email with Google Workspace

Business Starter: $6 USD per user, per month. Business Standard: $12 USD per user, per month. Business Plus: $18 USD per user, per month.

Is Gmail charging for email 2022? ›

Users will have until July 1, 2022 to move the entire mailbox data. After that, it will mean that G Suite is not free anymore. Google itself recommends users to upgrade their accounts to a paid Google Workspace account to get the business services.

Did Google change its SMTP settings? ›

They now refer to SMTP access as 'Less Secure Apps' in their Account Security section in your profile. Google recently announced that they will be transitioning away from “Less Secure App” access, removing access entirely in February 2021.

How do I create a SMTP email address? ›

Gmail
  1. Set SMTP Username to your_email@gmail.com.
  2. Set SMTP Password to your_password.
  3. Set SMTP Server to smtp.gmail.com.
  4. Set SMTP Port to 587.
  5. Set Connection Security to STARTTLS.

Does Gmail SMTP require authentication? ›

Require SMTP Authentication—Enforces SMTP authentication to identify the sending domain (connection through TLS required). SMTP authentication verifies the connection by checking the user Google Workspace email address and password.

Is IMAP and SMTP the same? ›

SMTP VS IMAP

IMAP is used to retrieve messages, and SMTP is for sending data. IMAP works between the server and client for communication, and SMTP works between servers to transfer information. IMAP allows users to organize emails onto the server, while SMTP allows organizing emails on client storage.

Is SMTP better than IMAP? ›

As we've discussed throughout this article, IMAP is for receiving email while SMTP is for sending email. So, if you're looking to send email, then you're better off using SMTP over IMAP.

What has replaced SMTP? ›

The Internet Engineering Task Force (IETF) recently published the specifications for JSON Meta Application Protocol (JMAP), a modern open standard replacement for IMAP and SMTP, that makes communicating with email servers faster and more secure.

Is there a public SMTP server? ›

There's a wide range of public, free SMTP servers that can be set up on a mail client to deliver your emails – Gmail's own portable SMTP server being probably the most popular.

What can I use instead of SMTP? ›

The Best SMTP Alternatives – Top 2022 Picks
  • 3.1 Sendinblue.
  • 3.2 SendGrid.
  • 3.3 Maropost.
  • 3.4 Mailgun.
  • 3.5 Userlist.
  • 3.6 SparkPost.
  • 3.7 SMTP2GO.
  • 3.8 Campaigner.
26 Aug 2022

Why is Google blocking me from sending emails? ›

Gmail block emails if you include links to known spam sources or sites in your emails. Affiliate programs and third-party email marketing tools can trigger domain reputation issues. If you have a low domain reputation, Gmail may block both your domain and your IP address.

Do hackers use SMTP? ›

Aside from sending phishing and spam emails, an SMTP hack can also give way to denial-of-service (DoS) attacks. Hackers can use your SMTP server to send a massive number of emails to other servers, effectively drowning the targets until they crash.

How can I send more than 500 emails a day on Gmail? ›

How can I send more than 500 emails a day on Gmail? Two of the easiest ways to bypass the 500 daily emails limit on Gmail include: Creating a different account to send emails to additional recipients. Creating Google Groups to send messages to a large group of individuals.

How do I send unlimited emails in Gmail? ›

You can now send virtually unlimited emails in Gmail. It works by connecting a third party SMTP service like SendGrid, Mailgun, or Mailjet to your GMass account.
...
  1. Step 1: Setting up your SMTP service. ...
  2. Step 2: Linking your GMass account to the SMTP service. ...
  3. Step 3: Sending through the SMTP server.
19 Aug 2022

How do I send 1000 emails in Gmail? ›

6 easy steps to send bulk emails from Gmail
  1. Step 1: Connect your Gmail account. ...
  2. Step 2: Create your email list. ...
  3. Step 3: Create a sequence. ...
  4. Step 4: Compose your email. ...
  5. Step 5: Upload the list in CSV format. ...
  6. Step 6: Send or schedule the email.
1 Feb 2022

How much does SMTP com cost? ›

SMTP.com Pricing
NamePriceFeatures
Essential$25/month50,000 emails Shared IP 24/7 Phone support
Starter$80/month100,000 emails Dedicated IP 24/7 Phone support
Growth$300/month500,000 emails Dedicated IP 24/7 Phone support
Enterprise$500 /month1,000,000 emails Deliverability expert access Dedicated IP 24/7 Phone support
13 Nov 2020

Can I send 300 emails at once with Gmail? ›

Standard Gmail accounts are limited to 500 outgoing emails per day. If you're using a work, school, or Workspace Individual account, you're limited to 2,000 outgoing emails per day. With multi-send, you can add up to 1,500 recipients in the “To” field per email and send to a maximum of 1,500 recipients per day.

How can I send 500 emails for free? ›

Here's all you need to know:
  1. Step 1: Make sure you've installed Right Inbox. ...
  2. Step 2: Once you've signed up for Right Inbox open Up your Gmail account. ...
  3. Step 5: Add your email copy for this mail merge. ...
  4. Step 6: Preview the emails in the mail merge. ...
  5. Step 7: Enable/ disable email tracking and the send rate for this campaign.
18 Mar 2022

Is SMTP paid? ›

SMTP or Simple Mail Transfer Protocol is the industry standard for sending emails on the internet. It uses proper authentication which increases the chances that your emails will actually get delivered to users' inboxes. There are both paid and free SMTP service providers.

Is mail com a free service? ›

mail.com offers a free, advertising-supported email service as well as subscription-based premium email and cloud storage plans. Its services are primarily aimed at private users and small- and medium-sized businesses.

Top Articles
Latest Posts
Article information

Author: Prof. Nancy Dach

Last Updated:

Views: 6311

Rating: 4.7 / 5 (57 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Prof. Nancy Dach

Birthday: 1993-08-23

Address: 569 Waelchi Ports, South Blainebury, LA 11589

Phone: +9958996486049

Job: Sales Manager

Hobby: Web surfing, Scuba diving, Mountaineering, Writing, Sailing, Dance, Blacksmithing

Introduction: My name is Prof. Nancy Dach, I am a lively, joyous, courageous, lovely, tender, charming, open person who loves writing and wants to share my knowledge and understanding with you.