How to use Gmail as an SMTP server |  Practical guide

How to use Gmail as an SMTP server | Practical guide


Find out how to activate Gmail as an SMTP server to use it in email clients and websites compatible with the Google service

You can use Gmail as your SMTP (Simple Mail Transfer Protocol) server and send emails from accounts on third-party services or directly from websites that allow you to embed the feature, such as WordPress and Hostinger.



This way of using Gmail is a great tip for anyone who has a professional email address and wants to send messages with a custom address through their Gmail account.

How to enable Gmail as an SMTP server

Before using Gmail as an SMTP server, you must activate the option that allows you to configure the Gmail service. Google in other email clients. For security reasons, this feature requires two-step verification.

Check below how to activate:

  1. Open Gmail;
  2. Click on your photo in the top right corner;
  3. Select “Manage your Google account;
  4. Click Security in the left pane;



  5. You need to log into your Google account management to access your security options (Image: Screenshot/Fabrício Calixto/Canaltech)
  6. Scroll down, click on “Two-step verification” and “Get started”;
  7. Do Login in your Gmail account;
  8. Select a mobile phone, enter the authentication code and click on “Activate”;
  9. Scroll down and click on “Two-Step Verification” again;
  10. Scroll down the screen and click on “App Passwords”;


  11. After turning on two-step verification, you need to create an app password in your Gmail (Image: Screenshot/Fabrício Calixto/Canaltech)
  12. Give the name to use in the desired app and click on “Create”;
  13. Record your app password for use on another service and click “Done.”


  14. Once you've generated your password, simply save it for future use and complete the Gmail setup (Image: Screenshot/Fabrício Calixto/Canaltech

After this step, you need to go back to your inbox and access the Google security alert message. There just click on “Check activity” and the “Yes, it was me” option to finally activate the use of Gmail as an SMTP server and more



You must authorize two-step verification via the email sent to your Gmail inbox (image: Screenshot/Fabrício Calixto/Canaltech)

Gmail settings as SMTP server

Check below the information needed to configure the Gmail SMTP server on the desired service:

  • Gmail SMTP server address: smtp.gmail.com;
  • SMTP port for SSL: 465;
  • SMTP port for TLS: 587;
  • SMTP Gmail username: your full Gmail address (e.g. your_name@gmail.com);
  • Gmail SMTP Password: The password you use to log in to Gmail.

How to use Gmail as an SMTP server

Now that you have activated Gmail for use in other services and know what data to provide in the settings, you can now open the email client or website of your choice and enter your data there.

Since there are many options that offer compatibility with the Google service (WordPress and Hostinger, for example, as described above), we will use the GMass testing tool as an example to set up a Gmail account as an SMTP server and test its functionality.

Here’s how to configure:

  1. Log in to GMass (gmass.co/smtp-test);
  2. Fill in all the data provided on the screen;
  3. Click “Try” to check your email.


If your Gmail data works on GMass, it means you can now use it on other services (Image: Screenshot/Fabrício Calixto/Canaltech)

If the tool reports that the test with your data was successful, it’s a sign that you can now use Gmail as an SMTP server in the email client or website of your choice.

It’s worth noting that Gmail allows you to send a maximum of 500 messages per day, so it’s good to pay attention to this detail if you want to set up the Google service to use on a very busy account.

If you also want to receive messages on another service, you will have to use the POP3 or IMAP protocol. In this sense it is worth consulting Canaltech’s educational tutorial use Gmail with your domain to carry out this type of task.

Trends on Canaltech:

Source: Terra

You may also like