Everything you need to start sending email.
Create an account, then add your sending domain from the dashboard. We'll provide DNS records (DKIM and SPF) to add to your domain's DNS settings. Once verified, you're ready to send.
Your SMTP credentials and API key are available in the dashboard. You'll need these to authenticate when sending email.
Configure your application's SMTP settings with the following:
SMTP Host: smtp.mailertogo.com
SMTP Port: 587 (STARTTLS) or 465 (SSL)
Username: Your SMTP username (from dashboard)
Password: Your SMTP password (from dashboard)
Most frameworks have built-in SMTP support:
# config/environments/production.rb
config.action_mailer.smtp_settings = {
address: ENV["MAILERTOGO_SMTP_HOST"],
port: 587,
user_name: ENV["MAILERTOGO_SMTP_USER"],
password: ENV["MAILERTOGO_SMTP_PASSWORD"],
authentication: :plain,
enable_starttls: true
}
# settings.py
EMAIL_HOST = os.environ.get("MAILERTOGO_SMTP_HOST")
EMAIL_PORT = 587
EMAIL_HOST_USER = os.environ.get("MAILERTOGO_SMTP_USER")
EMAIL_HOST_PASSWORD = os.environ.get("MAILERTOGO_SMTP_PASSWORD")
EMAIL_USE_TLS = True
const nodemailer = require("nodemailer");
const transport = nodemailer.createTransport({
host: process.env.MAILERTOGO_SMTP_HOST,
port: 587,
auth: {
user: process.env.MAILERTOGO_SMTP_USER,
pass: process.env.MAILERTOGO_SMTP_PASSWORD,
},
});
# .env
MAIL_MAILER=smtp
MAIL_HOST="${MAILERTOGO_SMTP_HOST}"
MAIL_PORT=587
MAIL_USERNAME="${MAILERTOGO_SMTP_USER}"
MAIL_PASSWORD="${MAILERTOGO_SMTP_PASSWORD}"
MAIL_ENCRYPTION=tls
Send email with a single HTTP request:
curl -X POST https://api.mailertogo.com/v1/send \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"from": "you@yourdomain.com",
"to": "user@example.com",
"subject": "Hello",
"html": "<p>Your email body here.</p>"
}'
To send from your own domain, add the DNS records shown in your dashboard:
DNS changes can take up to 48 hours to propagate, though most complete within minutes. The dashboard will show verification status for each record.
Configure webhook URLs in your dashboard to receive real-time notifications for email events:
Webhook payloads are sent as JSON POST requests. We retry failed deliveries with exponential backoff.
Mailer To Go is available as a Heroku add-on. Provision it from the Heroku Elements Marketplace, and your SMTP credentials will be set as config vars automatically.
Mailer To Go is also available on Build.io. Provision it from your Build.io dashboard for automatic configuration.
Have questions? Email us at support@mailertogo.com. Check our status page for service availability.