Preloader

Office Address

Elkridge, MD 21044

Phone Number

443-620-4620

Email Address

[email protected]

Gmail IMAP and SMTP setup

Gmail IMAP and SMTP setup

These settings will guide you on how to setup your Gmail SMTP settings on your new computer’s Outlook or Thunderbird, mailing app on your iPhone, or you want to configure access to Gmail SMTP servers to manage emails for your business website.

✅ For Google Workspace Users:

1. Admin Must Allow SMTP & IMAP Access

  • Log into the Admin console: admin.google.com
  • Navigate to:
    • AppsGoogle WorkspaceGmailUser Settings
    • Ensure IMAP access is enabled
    • Ensure SMTP relay or access via external apps is not restricted

2. Use App Password (if 2-Step Verification is ON)


3. SMTP Relay Option (for sending bulk email or server apps)

If you’re configuring servers or mass email systems, Google recommends:

OptionSMTP ServerAuthenticationNotes
Gmail SMTP (standard)smtp.gmail.comYesUses user credentials
Google SMTP Relaysmtp-relay.gmail.comOptionalMust be set up in admin console; IP whitelisting available

✅ Summary of Workspace Setup

SettingValue
IMAP Serverimap.gmail.com, port 993, SSL
SMTP Serversmtp.gmail.com, port 465 (SSL) or 587 (TLS)
UsernameYour full Workspace email ([email protected])
PasswordApp Password if 2FA is on
IMAP AccessMust be enabled in Admin Console

 

✅ Prerequisites

  1. Gmail account (must be active)
  2. Less secure apps access enabled (only for non-OAuth apps)
  3. 2-Step Verification users: Create an App Password

📩 Incoming Mail (IMAP) Settings

  • Protocol: IMAP
  • Server: imap.gmail.com
  • Port: 993
  • Encryption: SSL/TLS
  • Username: your full Gmail address (e.g., [email protected])
  • Password: your Gmail password or app password

📤 Outgoing Mail (SMTP) Settings

  • Protocol: SMTP
  • Server: smtp.gmail.com
  • Port: 465 (SSL) or 587 (TLS)
  • Encryption: SSL (465) or STARTTLS (587)
  • Authentication: Yes
  • Username: your full Gmail address
  • Password: your Gmail password or app password

🔐 App Password Setup (if using 2-Step Verification)

  1. Go to: https://myaccount.google.com/security
  2. Under "Signing in to Google", click App Passwords
  3. Select the app (e.g., "Mail") and device (e.g., "Windows Computer")
  4. Click Generate, and use the 16-digit code as your email client password

How to use the Gmail SMTP settings?#

Important notice if you’re using 2-Factor Authentication (2FA):

If you’ve enabled two-factor authentication on your Google account, you can use the SMTP server. However, you will need to generate an app password to allow another app to connect.

Skip this part if you haven’t enabled 2FA

To generate an app password:#

Follow this link while logged into your Google account. (Go to your Google Account > Security > Signing in to Goggle > App passwords)

From the drop down menu, you’ll need to select the app first:

image-1.png

 

Then select a device type:

image-2.png

And finally, click on “Generate”:

image-3.png

 

Gmail will then provide you with a secret key (in yellow) to use in your selected app, and the required steps to get this done:

image-4.png

 

Follow the specific “How to use it” instructions provided by Google for each app and device, so you can grant access to your account.

 🔧 Enable IMAP in Gmail

In the “IMAP access” section > Enable IMAP.

  1. Go to Gmail Settings → See all settings
  2. Go to the Forwarding and POP/IMAP tab
  3. Under IMAP access, select Enable IMAP
  4. Save changes
image-6.png

How enable POP3  Gmail?#

On your computer, open your Gmail.

Go to Settings > Forwarding and POP/IMAP tab.

Scroll down to “POP download” section >Enable POP for all mail.

image-5.png

 

 

And of course, Save Changes.

On your email client side, you will need to go into your settings, and find the account settings section where your Incoming messages and POP/IMAP configurations are managed. Once there, input the below info and values.

Conclusion#

Now that you’ve configured your Gmail SMTP settings and your Gmail POP/IMAP settings, you should be all set up to start sending emails from your external app!

Always keep in mind Gmail’s sending limits. Using another email client does not absolve you from Gmail’s 500/day limit. To avoid getting flagged or blocked by Gmail, it’s always safest to start slow (40-100 emails) per day, before trying to send more.

If you would like to send more emails per day, we use a dedicated service for transactional emails such as newsletters. Please contact us to inquire about this service.

If you need further help to get setup, please schedule a premium consultation session. 

Share:
Cybasoft Admin
Author

Cybasoft Admin

cert-sdvosb
vsbe
cert-mdot
cert-sba
cert-sba

Join our mailing list

Keep Up With What is Happening in Our Space

shape