SMTP Quickstart
Learn how to send emails through Lettr using SMTP.
SMTP Credentials
Use the following SMTP settings to connect to Lettr:
| Setting | Value |
|---|
| Host | smtp.lettr.dev |
| Port | 587 (TLS) or 465 (SSL) |
| Username | lettr |
| Password | Your API Key |
| Encryption | TLS 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