Gmail Free Account

Gmail SMTP configuration

First of all, you have to configure Outgoing Mail (SMTP) Server and link below will help you to do it all by yourself. https://support.google.com/mail/answer/7126229?hl=en#zippy=%2Cstep-check-that-imap-is-turned-on%2Cstep-change-smtp-other-settings-in-your-email-client

Actions after initial configuration

Even though Gmail is the fastest way to get started with sending emails, it is by no means a preferable solution. Gmail expects the user to be an actual user not a robot so it runs a lot of heuristics for every login attempt and blocks anything that looks suspicious to defend the user from account hijacking attempts. For example you might run into trouble if your server is in another geographical location.

Additionally Gmail has came up with the concept of “Less secure” apps which is basically anyone who uses plain password to login to Gmail, so you might end up in a situation where one username can send mail (support for “less secure” apps is enabled) but other is blocked (support for “less secure” apps is disabled). You can configure your Gmail account to allow less secure apps here. When using this method make sure to also enable the required functionality by completing the “Captcha Enable” challenge. Without this, less secure connections probably would not work.

If you are using 2FA you would have to create an “Application Specific” password for “Email Confluence Page” to work.

Gmail also always sets authenticated username as the From: email address. So if you authenticate as foo@example.com and set bar@example.com as the from: address, then Gmail reverts this and replaces the sender with the authenticated user.

To prevent having login issues we suggest you to use another delivery provider and preferably a dedicated one. Usually these providers have free plans available that are comparable to the daily sending limits of Gmail. Gmail has a limit of 500 recipients a day (a message with one To and one Cc address counts as two messages since it has two recipients) for @gmail.com addresses, larger SMTP providers usually offer about 200-300 recipients a day for free.

Data used for configuring Gmail SMTP server

 

  • Server hostname → smtp.gmail.com - this is configured by Gmail

  • Server port → 465 - here you are using port for SSL

  • Username → username used for Gmail account that you are using as an mail server

  • Password → password used for Gmail account that you are using as an mail server