Prerequisites

To get the most out of this guide, you’ll need to:

SMTP Credentials

When configuring your SMTP integration, you’ll need to use the following credentials:

  • Host: smtp.resend.com
  • Port: 25, 465, 587, 2465, or 2587
  • Username: resend
  • Password: YOUR_API_KEY

Ports help to instruct the type of security you want to use in your SMTP connection.

TypePortSecurity
SMTPS465, 2465Implicit SSL/TLS (Immediately connects via SSL/TLS)
STARTTLS25, 587, 2587Explicit SSL/TLS (First connects via plaintext, then upgrades to SSL/TLS)

Custom Headers

If your SMTP client supports it, you can add custom headers to your emails.

Here are some common use cases for custom headers:

  • Prevent threading on Gmail with the X-Entity-Ref-ID header
  • Include a shortcut for users to unsubscribe with the List-Unsubscribe header

FAQ

Once configured, you should be able to start sending emails via SMTP. Below are some frequently asked questions: