How to Set Up Gmail SMTP in PDF.co
To send emails through Gmail using PDF.co, configure the following SMTP settings and authenticate with a Google app password.
SMTP settings
Setting | Value |
|---|---|
SMTP server/host |
|
SMTP port |
|
SMTP username | Your full Gmail or Google Workspace email address |
SMTP password | A Google-generated app password |
Create a Google app password
Sign in to the Google Account you want to use for sending emails.
Turn on 2-Step Verification for that account.
Create an app password and give it a recognizable name, such as PDF.co.
Enter the generated password in PDF.co’s SMTP Password field. For direct API requests, use it as the
smtppasswordvalue.
Your regular Google Account password should not be used for this setup.
If App Passwords is unavailable
The option may be unavailable because of your organization’s policies, Advanced Protection, or a security-key-only 2-Step Verification configuration. For a managed Google Workspace account, contact your administrator to check whether app passwords are permitted.
If authentication fails
Confirm that the SMTP username is the full email address belonging to the account that generated the app password.
If you recently changed your Google Account password, generate a new app password. Google revokes existing app passwords after a password change.
Keep your app password private and hide it in screenshots or support messages.
For further instructions, see Google’s app-password guide. If you need help configuring PDF.co, contact our support team.