Elastic Email SMTP Settings
Complete guide to configure Elastic Email SMTP for sending transactional and marketing emails from your application.
table_chart Quick Reference
| Setting | Value |
|---|---|
| SMTP Server | smtp.elasticemail.com |
| Port (TLS) | 2525 Recommended |
| Alternative Ports | 587, 25 |
| SSL Port | 465 |
| Username | Your Elastic Email account email |
| Password | SMTP API Key |
| Encryption | TLS or SSL |
| Free Tier | 100 emails/day |
Step-by-Step Setup Guide
Create Elastic Email Account
Sign up for a free account at elasticemail.com. The free plan includes 100 emails per day.
Verify Your Domain
Go to Settings > Domains and add your sending domain. Add SPF and DKIM DNS records for authentication.
Generate SMTP API Key
Navigate to Settings > SMTP/API and create a new SMTP credential.
The API key is shown only once. Store it securely!
Configure Your Application
Use smtp.elasticemail.com:2525 with your account email and SMTP API key.
Code Examples
import smtplib
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
# Elastic Email SMTP settings
SMTP_HOST = "smtp.elasticemail.com"
SMTP_PORT = 2525
SMTP_USER = "your-email@example.com"
SMTP_PASS = "your-smtp-api-key"
# Create message
msg = MIMEMultipart()
msg['From'] = "your-email@example.com"
msg['To'] = "recipient@example.com"
msg['Subject'] = "Test Email via Elastic Email"
body = "This is a test email sent via Elastic Email SMTP."
msg.attach(MIMEText(body, 'plain'))
# Send email
with smtplib.SMTP(SMTP_HOST, SMTP_PORT) as server:
server.starttls()
server.login(SMTP_USER, SMTP_PASS)
server.send_message(msg)
print("Email sent successfully!")
Pricing
100 emails/day
- check SMTP & API
- check Basic analytics
- check Email templates
/month
- check 50,000+ emails
- check Advanced analytics
- check A/B testing
- check Automation
Troubleshooting
Connection timeout
Try different ports: 2525, 587, or 465. Port 2525 is rarely blocked by ISPs.
Authentication failed
Verify your account email as username and SMTP API key as password. Generate a new key if needed.
Emails going to spam
Verify your domain with SPF and DKIM records. Use a custom tracking domain and warm up your sending reputation.
Frequently Asked Questions
What is included in the free plan?
The free plan includes 100 emails per day, SMTP and API access, basic analytics, and email templates.
Can I send marketing emails with Elastic Email?
Yes, Elastic Email supports both transactional and marketing emails with their email campaigns feature.