Skip to main content
Docs/SMTP

SMTP Relay

Send emails through SendMesh using standard SMTP. Drop-in replacement for any app that supports SMTP configuration.

SMTP relay coming soon

The SMTP relay service is under development. Use the REST API or an official SDK for sending emails now. The code examples below show the configuration you'll use once SMTP is live.

SMTP Settings

SMTP Hostsmtp.sendmesh.co
Port (TLS)587 (recommended)
Port (SSL)465
EncryptionSTARTTLS (port 587) or SSL/TLS (port 465)
UsernameYour API public key (pk_live_xxx)
PasswordYour API secret key (sk_live_xxx)
AuthenticationPLAIN or LOGIN

High Throughput

Up to 10,000 emails/second per connection

TLS Encryption

STARTTLS and direct SSL/TLS supported

Full Tracking

Opens, clicks, bounces tracked automatically

Code Examples

javascript
const nodemailer = require('nodemailer');

const transporter = nodemailer.createTransport({
  host: 'smtp.sendmesh.co',
  port: 587,
  secure: false, // STARTTLS
  auth: {
    user: 'pk_live_your_public_key',  // Your API public key
    pass: 'sk_live_your_secret_key',  // Your API secret key
  },
});

const info = await transporter.sendMail({
  from: '"Your App" <hello@yourdomain.com>',
  to: 'user@example.com',
  subject: 'Hello from SendMesh SMTP',
  html: '<h1>Welcome!</h1><p>Sent via SMTP relay.</p>',
});

console.log('Message sent:', info.messageId);

How SMTP Relay Works

1

Your app connects to smtp.sendmesh.co and authenticates with your API keys

2

You send emails using standard SMTP commands (MAIL FROM, RCPT TO, DATA)

3

SendMesh queues the email, checks suppression lists, and applies rate limits

4

The email is delivered via AWS SES with full DKIM/SPF authentication

5

Delivery events (bounce, open, click) are tracked and available via webhooks and API

Need to send now?

The REST API is live and ready. SMTP relay is coming soon.

Use REST API