Email SMTP Relay
The SMTP server for the automatic emails of your website, system or device, with a secure TLS connection and a verified domain.
No need to change your website or system code: just swap in the details of our SMTP server.
In an SMTP plugin, choose “Other SMTP” and port 2525.
PHPMailer, Laravel and others: the server, port and credential.
ERP, invoicing and servers that already send over SMTP.
Equipment that sends email alerts and only speaks SMTP.
The real server, username and password appear in the Email Center when you create the credential.
$mail = new PHPMailer\PHPMailer\PHPMailer(true);
$mail->isSMTP();
$mail->Host = 'SMTP_HOST';
$mail->Port = 2525;
$mail->SMTPSecure = 'tls';
$mail->SMTPAuth = true;
$mail->Username = 'SMTP_USER';
$mail->Password = 'SMTP_PASSWORD';
$mail->setFrom('[email protected]', 'Your Company');
$mail->addAddress('[email protected]');
$mail->Subject = 'Your order is confirmed';
$mail->Body = 'Thank you for your order.';
$mail->send();MAIL_MAILER=smtp MAIL_HOST=SMTP_HOST MAIL_PORT=2525 MAIL_ENCRYPTION=tls MAIL_USERNAME=SMTP_USER MAIL_PASSWORD=SMTP_PASSWORD [email protected]
const nodemailer = require("nodemailer");
const t = nodemailer.createTransport({
host: "SMTP_HOST", port: 2525, secure: false, // STARTTLS
auth: { user: "SMTP_USER", pass: "SMTP_PASSWORD" },
});
await t.sendMail({ from: "[email protected]",
to: "[email protected]",
subject: "Your order is confirmed",
text: "Thank you for your order." });import smtplib from email.message import EmailMessage m = EmailMessage() m["From"], m["To"] = "[email protected]", "[email protected]" m["Subject"] = "Your order is confirmed" m.set_content("Thank you for your order.") with smtplib.SMTP("SMTP_HOST", 2525) as s: s.starttls() s.login("SMTP_USER", "SMTP_PASSWORD") s.send_message(m)
Any program that sends email over SMTP connects to our server with these details. You create the credentials in the Email Center, one for each program.
PricingYou pay per thousand emails sent each month, in tiers that drop with volume: $6.00 for the first thousand and from $0.75 per thousand above 10,000.
See pricing
The server is built so that only your programs send on your behalf, with the connection always encrypted and the sender checked.
What your program and our server say to each other on every send. Once the message is accepted, you get its send number right away.
It connects on 2525 and asks for STARTTLS, or on 2465 with TLS. Without it, the server refuses the password.
It sends the username and password, by AUTH PLAIN or LOGIN. Repeated wrong passwords mean a longer wait each time.
The sender must be on a domain verified on your account. Each recipient, copies included, counts as one email.
Once the message is accepted, the server replies 250 with the send number. The status of each email goes into the Email Center log.
# 1. Encrypt and sign in 220 SMTP_HOST ESMTP EHLO app.yourcompany.co.mz STARTTLS 220 2.0.0 Ready to start TLS AUTH PLAIN AHNtdHBfYTFiMmMz... 235 2.7.0 Authentication successful
# 2. Send the message MAIL FROM:<[email protected]> 250 2.1.0 Sender OK RCPT TO:<[email protected]> 250 2.1.5 Recipient OK DATA ... 250 2.0.0 Ok: queued as 412
Both send through the same servers, with the same domains and the same log. Only the way your program connects changes.
| SMTP RelaySMTP | Email APIREST | |
|---|---|---|
| Best for | Programs that already use SMTP | New or custom-built systems |
| Connection | Server, port, user and password | API key, over HTTPS |
| Templates with variables | Your program builds the message | Yes, stored in the Email Center |
| Verified domains | The same | The same |
| Log and blocked list | The same | The same |
Pay only for the emails you send, at a price per thousand. Each tier charges only the emails that fall in it, and the price drops as you send more.
Each recipient counts as one email, and tiers restart every month.
Prices in US dollars. No monthly fee, and the credits you buy do not expire at the end of the month.
What you pay in a month at common volumes, and how each total adds up, tier by tier.
| Emails per month | Total | Average per 1,000 |
|---|---|---|
| 1,000 | $6.00 | $6.00 |
| 10,000 | $16.80 | $1.68 |
| 50,000 | $46.81 | $0.94 |
| 100,000 | $84.32 | $0.84 |
With 10,000 emails in a month, the first 1,000 cost $6.00 and the next 9,000 cost $10.80, at $1.20 per thousand. Total: $16.80.
With 100,000 emails, the 90,000 above 10,000 cost $67.52, at $0.75 per thousand, and the month comes to $84.32.
Buy credits
With these habits, your emails go out first time and your credentials stay safe.
The most common server replies when you connect a program, and how to fix each one.
| Symptom | Server reply | What to do |
|---|---|---|
| Cannot reach the server | no reply | The network blocks the port: try the other one, 2525 or 2465. |
| Asks for encryption | 530 5.7.0 Must issue a STARTTLS command first | Turn on TLS: STARTTLS on 2525, TLS on 2465. |
| Password refused | 535 5.7.8 Authentication credentials invalid | Check the username or create a new credential. |
| Too many attempts | 454 4.7.0 Too many failed attempts, try again later | Wait a few minutes and fix the password before retrying. |
| Sender refused | 550 5.7.1 Sender domain is not verified for this account | Verify the domain or use an address on it. |
| Message too large | 552 5.3.4 Message size exceeds limit | Remove attachments or send a link to the file. |
The SMTP Relay documentation, the help articles and the other email solutions.
Articles to help you choose, set up and get the most from this service
The short answer: an API is the agreed way for one program to ask another for something. Instead of a person opening a page and clicking, your site sends…
Read the article
The short answer: if an API key, a token or a webhook secret has turned up somewhere it should not (a public repository, a file inside the site, a…
Read the article
To talk to an API from PHP you use cURL: open a request, send it, read the status code (200, 401, 404…) and only then decode the JSON in…
Read the article
The most frequent questions about SMTP Relay
It is an SMTP server that sends the emails of your website, system or device for you, with sign-in and an encrypted connection, from a verified domain.
Port 2525 with STARTTLS. If your network blocks it, use 2465 with TLS. The server address is shown in the Email Center.
From any address on a domain you have verified in the Email Center with SPF, DKIM and DMARC records. You can verify several domains.
No. SMTP Relay is for automatic sending. For everyday mailboxes, with webmail and Outlook, see Professional Email.
No. It is only shown when you create it, because it is stored as a hash. If you lose it, create a new credential and revoke the old one.
Click “Buy credits”, choose the amount and pay the invoice. The price is per thousand emails sent in the month, in graduated tiers: $6.00 for the first thousand, $1.20 per thousand from 1,001 to 10,000 and $0.75 per thousand above 10,000. The maths is under Pricing.
Yes. Create one credential for each program or website and revoke only the one you stop using. The password is shown only once, when you create it.
Yes. They appear in the same log and the same statistics as the emails sent through the API, with the status of each one.
For campaigns, use Email Marketing, which brings together the editor, the segments and the unsubscribe link.
Each recipient counts as one email, copies included. The tiers restart at the beginning of each month, and the credits you buy do not expire. They are one single balance, shared with Transactional E-mail and E-mail Marketing, and each SMTP Relay e-mail uses 1.5 credits.
Get Interweb's Fast and Secure Web Hosting Plan with a FREE Domain!