Samva
SMTP

Platform Integration Guides

Step-by-step SMTP setup guides for Auth0, Supabase, WordPress, Customer.io, and Nodemailer.

Platform Integration Guides

Samva's SMTP relay works with any platform that supports custom SMTP. Below are step-by-step guides for popular platforms.

Auth0

Auth0 uses SMTP to send verification emails, password resets, and MFA codes.

  1. Go to Auth0 Dashboard → Branding → Email Provider
  2. Select Custom Email Provider
  3. Enter the following settings:
SettingValue
SMTP Hostsmtp.samva.app
SMTP Port587
SMTP Usernamesamva
SMTP PasswordYour Samva API key
  1. Set the From address to an address on your verified Samva domain (e.g., auth@yourdomain.com)
  2. Click Save and send a test email to verify

Supabase

Supabase uses SMTP for authentication emails (signup confirmation, password reset, magic links).

  1. Go to Supabase Dashboard → Project Settings → Authentication
  2. Scroll to SMTP Settings and enable Custom SMTP
  3. Enter the following:
SettingValue
Hostsmtp.samva.app
Port587
Usernamesamva
PasswordYour Samva API key
Sender emailAn address on your verified domain
Sender nameYour app name
  1. Set Minimum interval between emails as needed
  2. Click Save

You can test by triggering a password reset from your Supabase app.

WordPress

Use the WP Mail SMTP plugin to route WordPress emails through Samva.

  1. Install and activate the WP Mail SMTP plugin
  2. Go to WP Mail SMTP → Settings → General
  3. Under Mailer, select Other SMTP
  4. Configure:
SettingValue
SMTP Hostsmtp.samva.app
EncryptionTLS
SMTP Port587
AuthenticationOn
SMTP Usernamesamva
SMTP PasswordYour Samva API key
  1. Set the From Email to an address on your verified domain
  2. Go to WP Mail SMTP → Tools → Email Test and send a test email

Customer.io

Customer.io can use a custom SMTP relay for sending transactional and marketing emails.

  1. Go to Customer.io → Settings → Email
  2. Under Sending Configuration, select Custom SMTP
  3. Enter:
SettingValue
Hostsmtp.samva.app
Port587
Usernamesamva
PasswordYour Samva API key
SecuritySTARTTLS
  1. Set your default From address to one on your verified domain
  2. Send a test email to verify the configuration

Nodemailer (Node.js)

For Node.js applications using Nodemailer:

import nodemailer from "nodemailer";

const transporter = nodemailer.createTransport({
  host: "smtp.samva.app",
  port: 587,
  secure: false, // false for STARTTLS, true for port 465
  auth: {
    user: "samva",
    pass: process.env.SAMVA_API_KEY,
  },
});

// Send an email
const info = await transporter.sendMail({
  from: '"Your App" <noreply@yourdomain.com>',
  to: "user@example.com",
  subject: "Welcome!",
  html: "<h1>Welcome to our app!</h1>",
});

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

For connection pooling in production:

const transporter = nodemailer.createTransport({
  host: "smtp.samva.app",
  port: 587,
  secure: false,
  auth: {
    user: "samva",
    pass: process.env.SAMVA_API_KEY,
  },
  pool: true, // Use connection pooling
  maxConnections: 5, // Max simultaneous connections
  maxMessages: 100, // Max messages per connection
});

Verification Checklist

After configuring any platform:

  1. Send a test email
  2. Check your Samva dashboard — the message should appear in your activity log
  3. Verify the email was delivered to the recipient's inbox
  4. Check that open/click tracking events appear (if applicable)

If the test fails, see the troubleshooting section.

On this page