Drop-in SMTP relay for
any application
Replace your SMTP server in minutes. GetMailer's SMTP relay works with any language, framework, or email client. No code changes needed.
SMTP credentials
Use these settings in any application that supports SMTP. That's it -- no SDK needed.
Host: smtp.getmailer.co
Port: 587 (STARTTLS) or 465 (SSL)
Username: getmailer
Password: gm_your_api_key_here
Auth: PLAIN / LOGINEnterprise-grade SMTP
All the reliability and deliverability of GetMailer's API, accessible over standard SMTP.
Zero-Code Migration
Swap your SMTP credentials and you're done. No SDK, no code changes, no library updates required.
Any Framework
Works with Node.js, Python, Ruby, PHP, Go, Java, .NET, and any language or framework that supports SMTP.
STARTTLS Encryption
All connections are encrypted with STARTTLS. Your email content is protected in transit.
Connection Pooling
Built-in connection pooling for high-throughput sending. Maintain persistent connections for maximum performance.
API Key Authentication
Authenticate with your GetMailer API key. No separate SMTP passwords to manage.
High Availability
Multi-region SMTP endpoints with automatic failover. Your emails send even if a region goes down.
Works with everything
Any application that sends email over SMTP works with GetMailer. Here are a few examples.
Node.js (Nodemailer)
const nodemailer = require("nodemailer");
const transporter = nodemailer.createTransport({
host: "smtp.getmailer.co",
port: 587,
secure: false,
auth: {
user: "getmailer",
pass: process.env.GETMAILER_API_KEY,
},
});
await transporter.sendMail({
from: "[email protected]",
to: "[email protected]",
subject: "Welcome!",
html: "<h1>Hello World</h1>",
});Python (smtplib)
import smtplib
from email.mime.text import MIMEText
msg = MIMEText("<h1>Hello World</h1>", "html")
msg["Subject"] = "Welcome!"
msg["From"] = "[email protected]"
msg["To"] = "[email protected]"
with smtplib.SMTP("smtp.getmailer.co", 587) as server:
server.starttls()
server.login("getmailer", "gm_your_api_key")
server.send_message(msg)Compatible with
Migrate in 3 steps
Get your API key
Sign up and create an API key from your dashboard. It works as both your API token and SMTP password.
Update SMTP settings
Replace your existing SMTP host, port, and credentials with GetMailer's. No other code changes needed.
Send emails
Your emails now route through GetMailer with full deliverability, tracking, and analytics.
Ready to get started?
Replace your SMTP server in under 5 minutes. No code changes required.