Skip to main content

SMTP Quickstart

Learn how to send emails through Lettr using SMTP.

SMTP Credentials

Use the following SMTP settings to connect to Lettr:
SettingValue
Hostsmtp.lettr.dev
Port587 (TLS) or 465 (SSL)
Usernamelettr
PasswordYour API Key
EncryptionTLS or SSL
Use your Lettr API key as the SMTP password.

Testing Your Connection

You can test your SMTP connection using the command line:
# Using OpenSSL
openssl s_client -starttls smtp -connect smtp.lettr.dev:587

# Or using swaks
swaks --to recipient@example.com \
      --from you@example.com \
      --server smtp.lettr.dev:587 \
      --auth LOGIN \
      --auth-user lettr \
      --auth-password your-api-key \
      --tls

Next Steps