How To Configure Gmail SMTP Servers Settings 2020

Gmail smtp server configuration guide: If you want to use an email client like Thunderbird or Outlook for send emails from your Gmail address, you must enter the correct Gmail SMTP server settings.

While some email clients do this automatically as soon as you enter your login credentials, others require you to enter the details manually.

In this article, we will tell you SMTP settings and server of Gmail that you will need to send mails from your favorite mail client.

The process is simple, takes less than a minute, and does not require any technical knowledge. You just need to know the correct settings, which you can check below.

Gmail SMTP server configuration settings
Did you know that Gmail also offers a free SMTP server? That’s right, and it’s a very little-known feature of Gmail, which allows you to integrate Google’s SMTP server settings with your web application (s) and the server (s) from where you want. send outgoing e-mails, without having to manage your outgoing e-mail server.

These outgoing emails might be part of email marketing campaigns or transactional emails such as password reset emails, order confirmation emails, emails user registration, etc.

Use the table below to update your client with the correct inbound and outbound smtp server information:

Incoming mail server (IMAP)
Requires SSL: Yes
Port: 993

Outgoing mail server (SMTP)
Requires SSL: Yes
Requires TLS: Yes (if available)
Requires authentication: Yes
Port for SSL: 465
Port for TLS / STARTTLS: Full name or display nameYour nameAccount name, username or email addressYour full email addressPasswordGmail passwordGmail SMTP server configuration settings * SMTP username: Your Gmail address “”
* SMTP password: your Gmail password
* SMTP server address:
* Gmail SMTP port (TLS): 587
* SMTP Port (SSL): 465
* SMTP TLS / SSL required: yes

Gmail SMTP server configuration settings Once you’ve added your account to an email client of your choice, the first thing you’ll likely need to do is enter your email address and password. Next, Gmail’s SMTP settings should appear on your screen. Then all you have to do is enter the information you see above.

If you don’t see them, you’ll need to open your account settings and do some research. They’re located in a different location depending on the email client you’re using, but they should be relatively easy to find.

Just keep in mind that Gmail’s SMTP settings have a send limit, which has been put in place to prevent spamming. You can only send a total of 500 emails per day, which is probably more than enough for the average user.

* Go to “Settings”, for example click on the “Gears” icon and select “Settings”.
* Click on “Forwarding and POP / IMAP”.
* Activate “IMAP Access” and / or “POP Download”.

Gmail SMTP, IMAP and POP servers
Gmail POP sessions are limited to approximately 7 days. Gmail IMAP sessions are limited to approximately 24 hours. For non-Gmail clients, Gmail supports standard IMAP, POP, and SMTP protocols.

* Gmail’s IMAP, POP, and SMTP servers have been extended to support authorization through the industry standard OAuth 2.0 protocol.
* IMAP, POP, and SMTP use the standard Simple Authentication and Security (SASL) layer, through the native IMAP AUTHENTICATE, POP AUTH, and SMTP AUTH commands, to authenticate users.
* The SASL XOAUTH2 mechanism allows clients to provide OAuth 2.0 credentials for authentication.
* The SASL XOAUTH2 protocol documentation describes the SASL XOAUTH2 mechanism in great detail, and libraries and samples that have implemented the protocol are available.
* Incoming connections to the IMAP server at and to the POP server at require SSL.
* The outgoing SMTP server,, requires TLS.
* Use port 465, or port 587 if your client starts with clear text before issuing the STARTTLS command.

Session length limits
* Gmail POP sessions are limited to approximately 7 days.
* Gmail IMAP sessions are limited to approximately 24 hours.
* If the session was authenticated using OAuth credentials, it is limited to approximately the validity period of the access token used.
* In this context, a session is a continuous TCP connection.
* When the time passes and the session expires, Gmail closes the connection with a message that the session has expired.
* The client can reconnect, re-authenticate, and continue.
* If you are using OAuth, make sure that the access token used is valid.

Read also : Versailles Webmail – How to Use Versailles Academy Messaging (Mobile and Web) & SFR mail: How to Create, Manage and Configure the mailbox efficiently?

Libraries and samples

Accessing mail over IMAP or POP and sending mail over SMTP is often done using existing IMAP and SMTP libraries for convenience.

As long as these libraries support the Simple Authentication and Security (SASL) layer, they should be compatible with the XOAUTH2 mechanism of SASL supported by Gmail.

* In addition to the SASL XOAUTH2 protocol documentation, you can refer to the Using OAuth 2.0 to Access Google APIs document for more information on implementing an OAuth 2.0 client.
* The Libraries and Samples page provides code samples in a variety of popular languages ​​using the SASL XOAUTH2 mechanism with IMAP or SMTP.

We hope this article has helped you familiarize yourself with the correct Gmail SMTP settings that you will need to send emails to other people through third-party email clients.

Read also : Hotmail: What is it? Messaging, Login, Account & Information (Outlook) ! & How to get an acknowledgment of receipt in Outlook?

Don’t forget to share the article!