Gmail SMTP Setup

Gmail SMTP Configuration

Jan 12, 2025

To configure SMTP in your gmail account. We first need to create an app password.

  1. Create an App Password. Navigate to https://security.google.com/settings/security/apppasswords.
  2. Here, provide an identifiable name and click on Generate.
  3. Copy the generated token and store in a secure place. The token will not be visible later.

Configure SMTP

Now, since we have created the app password. We will use it to configure our SMTP. Use the following configuration:

  • Server address: smtp.gmail.com
  • UsernameYour Gmail Address. Please note it should be full email address.
  • PasswordThe token we generated from above.
  • Port number: 465 for SSL, or 587 for TLS