Skip to main content

SMTP Configuration

Use Sendly’s SMTP server to send emails from your applications:

Connection Details

JavaScript/Node.js

Using Nodemailer

Python

Using Django

Then send emails:

Using Flask-Mail

PHP

Using PHPMailer

Ruby

Using Rails ActionMailer

Laravel

Using Laravel Mail

Supabase

Using Supabase Email

Go

Using Gomail

Troubleshooting

Connection Issues

Solution: Check your firewall allows outbound connections on port 587 or 465.

Authentication Failed

Solution: Verify your API key is correct in the MAIL_USERNAME and MAIL_PASSWORD fields.

TLS/SSL Issues

Solution: Try both port 587 with STARTTLS and port 465 with SSL.

Resources


Need help? Contact support@usesendly.app