How to Use Gmail as Your Email Sender via SMTP

March 25, 2024

Gmail is a great alternative for sending form emails via Simple Mail Transfer Protocol (SMTP) if you don’t have a business email address. When using Gmail SMTP, one requirement is to enable two-step verification for your Google account. For more information, see how to turn on two-step verification.


While this guide focuses on using a free Gmail account, this also applies to Google Workspace accounts. You only need to ensure that two-step verification is enabled.

Creating an App Password

After enabling two-step verification for your Google account, you must create an app-specific password for Jotform SMTP.

To create an app password

  1. Open Google App passwords and sign in to your account.
  2. Enter your desired app name, then select Create.
How to Use Gmail as Your Email Sender via SMTP Image-1
  1. Take note of the generated app password.
How to Use Gmail as Your Email Sender via SMTP Image-2

If you forgot your app password, you need to generate a new one since there’s no option to view the password once you close the password dialog.

Adding Custom Sender Email

Once you have your app password, you need to set your Gmail as your custom sender email in Jotform.

To add a sender email

  1. Go to Account Settings and select Add Sender Email.
The Add Sender Email button in Jotform Account Settings
  1. In the dialog, set up the following configuration:
    • Email Address: {your email address}
    • Hostname:
    • Port: 587 or 465
    • Username: {your Gmail address}
    • Password: {your Gmail app-specific password}
    • Security Protocol: TLS or SSL
The Add new email address dialog in Jotform Account Settings

Note: Port 587 should be paired with TLS security protocol. Use SSL for port 465.

  1. Select Test Email to confirm that everything is working.
  2. Once you’re done, select Save Email.

After configuring your custom sender email, remember to assign it to your email alerts. To learn more, see How to Add a Custom Sender Address to Email Alerts.

Academy Logo

Introduction to Form Building


Go to course :Emails
lesson-2 - image
Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum:

Contact Jotform Support:

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


  • Devendra Agrawal - Profile picture
  • jack roark - Profile picture
  • Patrick Fleming - Profile picture
  • Jeremy Trindade - Profile picture
  • Kaio - Profile picture
  • Péral - Profile picture
  • Kacper Ruciński - Profile picture
  • Emma Back - Profile picture
  • Dubai Experience - Profile picture
  • Hello @ tuck. - Profile picture
  • Theo Courier - Profile picture
  • Kimberly Carlson - Profile picture
  • Lisandro Franky IV - Profile picture