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.
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.
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) Username: apikey Password: <your SendGrid API key>
- Create or sign in to your SendGrid account.
- Verify your sender address. Domain authentication is recommended for production; Single Sender Verification can be used for testing.
- Create an API key with the Mail Send permission and store it securely.
- 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.
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.
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.
# 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
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.
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.