SMTP Setup for Email Alerts

This page explains how to configure an SMTP server for sending email alerts from SMARTBOOTH tools. For ongoing alerts, use a dedicated SMTP relay such as SendGrid or Elastic Email. Gmail SMTP is available for low-volume personal use or quick testing. You can also register in our site to get SMS and Email sending from Smartbooth.com.

Recommended for ongoing alerts

Use a dedicated SMTP relay

A dedicated relay such as SendGrid or Elastic Email keeps SMARTBOOTH alert credentials separate from your personal mailbox. Create a dedicated SMTP credential or API key for this device and revoke it independently if needed.

Separate service credential Suitable for ongoing alerts Can revoke independently
Choose a provider and verify your sender
Follow the provider guide to create relay credentials and verify the sender address or domain before sending alerts.
Keep credentials separate
A relay credential or API key is separate from your personal email password. Use a credential dedicated to SMARTBOOTH and revoke it if it is no longer needed.

SendGrid SMTP (Recommended)

SendGrid is an email delivery service you can use to send SMARTBOOTH alerts through SMTP. Verify your sender first, then create an API key with Mail Send permission. Use the API key as the SMTP password. Follow the step-by-step guide below for account setup, sender verification, and testing.

SMTP server
smtp.sendgrid.net
Port
587 (STARTTLS recommended)
Username
apikey
Password
SendGrid API key
SMTP server: smtp.sendgrid.net
PORT: 587 (STARTTLS)
Username: apikey
Password: <your SendGrid API key>
  1. Create or sign in to your SendGrid account.
  2. Verify your sender address. Domain authentication is recommended for production; Single Sender Verification can be used for testing.
  3. Create an API key with the Mail Send permission and store it securely.
  4. Enter the SMTP settings above in your SMARTBOOTH alert software, then send a test email.

Open the complete SendGrid setup guide → It includes detailed steps, illustrated instructions, security notes, and troubleshooting tips.

When to choose SendGrid
Choose SendGrid when you want a dedicated email relay, need to authenticate your sending domain, or prefer an API key that you can revoke and replace without changing your main email password.

ElasticEmail (Recommended. Simple and Easy Setup)

Elastic Email provides SMTP relay credentials for SMARTBOOTH email alerts. Create a dedicated SMTP credential in your Elastic Email account, verify your sender, then enter the SMTP settings below.

SMTP server
smtp.elasticemail.com
Port
587 (STARTTLS recommended), 2525, or 465 (SSL)
Username
Elastic Email SMTP credential username
Password
Generated SMTP credential password (not your API key)

Open the complete Elastic Email setup guide → It includes step-by-step account setup, sender verification, SMTP credentials, testing, and troubleshooting.

Gmail SMTP Setup (Personal Use or Testing)

Gmail SMTP can be convenient for low-volume personal alerts or a quick test. It requires granting the app access with a Google App Password. Use your Gmail address as the SMTP username and a generated Gmail App Password as the SMTP password.

SMTP server
smtp.gmail.com
Port
465 (SSL) or 587 (TLS/STARTTLS)
Username / From
Password
Gmail App Password
Encryption
SSL or STARTTLS
# Sample GMail SMTP email Setup 
# SMTP URL and port; for example smtp://smtp.example.com:587.
# SMTP URL and port; for example smtps://smtp.example.com:465   (SSL port 465 need smtps://) 
server : "smtp://smtp.gmail.com:587"
email : "[email protected]"
password : "Gmail App Password"
# Sender email address accepted by your SMTP provider Same as your email account
from : "[email protected]"
# Alert recipients; separate multiple email addresses with commas.
to : "[email protected],[email protected]"

How to get your Gmail App Password

1
Open your Google Account and go to Security. Turn on 2-Step Verification first. Gmail App Passwords only appear after 2-Step Verification is enabled.
2
After 2-Step Verification is enabled, open App passwords, choose Mail, choose a device or enter a custom device name like SMARTBOOTH SMTP, then click Generate.
3
Copy the generated 16-character password and paste it into your SMTP configuration as the password. Do not use your normal Gmail password.
Illustrated Gmail Security screen showing where to enable 2-Step Verification before App Passwords become available.
Illustrated screen guide: Google Account → Security → Turn on 2-Step Verification first.
Illustrated Gmail App passwords screen showing Mail, custom device name, and Generate button.
Illustrated screen guide: open App passwords, choose Mail, name the device, then generate the app password.
If you cannot see “App passwords”
Common reasons: 2-Step Verification is not turned on yet, the account is managed by work/school admin, or the account has extra protection policies enabled.

curl SMTP Sample for Gmail

You can use curl to test Gmail SMTP directly from Windows Command Prompt. In Windows CMD, the ^ continuation character must be the last character on the line.

curl --url "smtp://smtp.gmail.com:587" ^
--ssl-reqd ^
--mail-from "[email protected]" ^
--mail-rcpt "[email protected]" ^
--user "[email protected]:your_app_password" ^
--upload-file email.txt

One-line version

curl --url "smtp://smtp.gmail.com:587" --ssl-reqd --mail-from "[email protected]" --mail-rcpt "[email protected]" --user "[email protected]:your_app_password" --upload-file email.txt

email.txt sample

From: [email protected]
To: [email protected]
Subject: Test email

Hello from curl SMTP!

Keep one blank line between the Subject line and the email body. Replace your_app_password with the Gmail App Password generated above.

NetEase 163.com (China)

For NetEase / 163.com, follow your provider-specific SMTP authorization steps in your China SMTP guide. This usually uses an authorization code rather than your mailbox login password.

Region note
If you are sending from China-based mailbox services, always follow that provider’s own SMTP authorization instructions.

Other SMTP server options

You can use any SMTP provider that supports authenticated SMTP and TLS. For ongoing alerts, choose a dedicated relay; Gmail is listed above for low-volume personal use or testing.