Skip to content

Questions · Published 2026-11-29 · Updated 2026-11-29 · AgentiSend

Resend SMTP settings

Resend SMTP settings are host smtp.resend.com, username resend, and an API key as the password, on ports 25, 465, 587, 2465 or 2587.

The Resend SMTP settings page at https://resend.com/docs/send-with-smtp lists that host, that username and those five ports. We fetched it on 28 November 2026, with the Supabase SMTP guide and the usage-limits page the SMTP FAQ points at. We make AgentiSend. The settings for our host are in the last section, and the status page reports Outgoing mail as not offered, so there is no live host to paste yet.

This page quotes Resend's documentation. It is not Resend's support.

The five fields

Resend's SMTP page, fetched as Markdown the same day (2,545 bytes), says to use these settings:

FieldValue
Hostsmtp.resend.com
Usernameresend
PasswordYour API key
Ports, implicit TLS465, 2465
Ports, STARTTLS25, 587, 2587

Prerequisites on that page: an API key, and a verified domain. The password is the API key. There is no separate SMTP password on the page.

Resend SMTP settings fetched 28 November 2026: host smtp.resend.com, username resend, password an API key. Ports 465 and 2465 are implicit TLS. Ports 25, 587 and 2587 start in the clear and then upgrade.

Resend's own table of what each port means:

TypePortSecurity, in their words
SMTPS465, 2465Implicit SSL/TLS. Connects via SSL/TLS immediately
STARTTLS25, 587, 2587Explicit SSL/TLS. Connects in plaintext, then upgrades

Their Supabase guide picks one of those: port 465. Their Nodemailer guide does the same, with secure: true.

A header that stops a second copy

The SMTP page says you can add a Resend-Idempotency-Key header so a retry does not send a second copy. Their idempotency page, https://resend.com/docs/dashboard/emails/idempotency-keys, says the same header is how SMTP carries the key, that a key can be up to 256 characters, and that the key is kept for 24 hours. The API form of the same idea is an Idempotency-Key header on POST /emails. The SMTP page's example also names X-Entity-Ref-ID (to keep Gmail from threading) and List-Unsubscribe.

The example on the SMTP page is this message:

From: Acme <onboarding@resend.dev>
To: delivered@resend.dev
Subject: hello world
Resend-Idempotency-Key: welcome-user/123456789

<p>it works!</p>

onboarding@resend.dev and delivered@resend.dev are the addresses in that example. This page does not add a claim about what those addresses are allowed to do.

The same limit as the API

The SMTP FAQ asks whether the rate limit applies to SMTP and answers yes, the same limit as the API. The page it links is now https://resend.com/docs/api-reference/rate-limit (the FAQ's anchor is the older introduction URL). Fetched the same day, that page says the default maximum is 10 requests per second per team, across every API key on the team, and that the team can see the current number on its usage settings. It also describes a daily quota on the free plan, resetting at midnight UTC, and a monthly quota. Quotas are the subject of Resend alternative pricing and AgentiSend vs Resend. This page does not restate the price table.

Two more answers on the SMTP FAQ, same fetch:

  • Mail sent over SMTP shows in the emails table at https://resend.com/emails.
  • Resend does not provide SMTP server logs. The page tells you to contact their support.

Supabase custom SMTP

Two pages, both fetched on 28 November 2026, describe the same job and name different clicks.

Supabase's own page, https://supabase.com/docs/guides/auth/auth-smtp, says to open the Authentication settings page at https://supabase.com/dashboard/project/_/auth/smtp. It also lists a Management API call. Until custom SMTP is on, that page says Supabase Auth delivers only to addresses on the project's team, and any other address fails with the message "Email address not authorized." It says the built-in sender is limited to 2 messages per hour, that the number can change without notice, and that the service has no delivery or uptime agreement. After you save custom SMTP, the same page says a limit of 30 messages per hour applies until you raise it on https://supabase.com/dashboard/project/_/auth/rate-limits.

Resend's Supabase guide, https://resend.com/docs/send-with-supabase-smtp, gives the values to paste and a click path: Authentication in the left sidebar, then Email under Notifications, then SMTP Settings. Sender email and sender name are required. Their example is support@example.com and ACME Support. The credentials on that guide are host smtp.resend.com, port 465, username resend, password the API key. It also points at https://resend.com/settings/smtp as a place to copy the credentials from.

Use Supabase's dashboard URL for where the form lives, and Resend's four values for what to type. The Management API sample below is Supabase's request with those four values filled in. The other fields are the ones in Supabase's sample.

curl -X PATCH "https://api.supabase.com/v1/projects/$PROJECT_REF/config/auth" \
  -H "Authorization: Bearer $SUPABASE_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "external_email_enabled": true,
    "mailer_secure_email_change_enabled": true,
    "mailer_autoconfirm": false,
    "smtp_admin_email": "auth@yourdomain.com",
    "smtp_host": "smtp.resend.com",
    "smtp_port": "465",
    "smtp_user": "resend",
    "smtp_pass": "YOUR_API_KEY",
    "smtp_sender_name": "Your App Name"
  }'

smtp_admin_email has to be an address on a domain you have verified at Resend. The token comes from https://supabase.com/dashboard/account/tokens, which is the line in Supabase's sample.

Supabase's page also says that when you want the non-SMTP API, you use the Send Email hook instead. That hook is the path that works against AgentiSend today, because Outgoing mail is not offered. The handler, the signature check and the deploy command are in the Supabase guide.

Nodemailer, from Resend's page

Their Nodemailer SMTP guide uses port 465. This is that transport, with the password left as a placeholder:

import nodemailer from 'nodemailer';

async function main() {
  const transporter = nodemailer.createTransport({
    host: 'smtp.resend.com',
    secure: true,
    port: 465,
    auth: {
      user: 'resend',
      pass: 're_xxxxxxxxx',
    },
  });

  const info = await transporter.sendMail({
    from: 'onboarding@resend.dev',
    to: 'delivered@resend.dev',
    subject: 'Hello World',
    html: '<strong>It works!</strong>',
  });

  console.log('Message sent: %s', info.messageId);
}

main().catch(console.error);

The package is nodemailer on npm. The guide's install line is npm install nodemailer. The full sample they link is https://github.com/resend/resend-nodemailer-smtp-example.

AgentiSend SMTP settings

The SMTP guide is the list to paste once the status page reports Outgoing mail as offered. Until that line changes, send with POST /emails. A message the host accepts becomes one POST /emails made with the key you used as the password, so the send budget, the loop guard, suppressions, approval, the kill switch and domain verification apply to it the same way they apply to an API call.

FieldWhat to enter when the host is published
Hostsmtp.agentisend.com
Usernameagentisend
PasswordAn API key with permission to send. There is no separate SMTP password
Port 587The connection starts in the clear and then upgrades. Port 25 is not open
Port 465TLS from the first byte

One message can name 50 recipients. That figure is the relay's own ceiling. A retry can carry Resend-Idempotency-Key, then X-Entity-Ref-ID, then Message-ID. The first of those that is present, and at most 256 characters, is the idempotency key on that POST /emails. The API remembers an idempotency key for 7 days. The key's per-minute ceiling is 600 requests in a 60-second window, the same ceiling as a direct call.

Create the key with POST /api-keys. Read the stored message with GET /emails/{id}.

curl -sS -X POST https://api.agentisend.com/emails \
  -H "Authorization: Bearer $AGENTISEND_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"from":"billing@yourdomain.com","to":"delivered@simulator.agentisend.com","subject":"Your receipt","text":"Thanks — the details are attached."}'
201
{
  "id": "9c8f8f0e-3d1a-4d3f-9a1e-2b7c1a0f5e42",
  "simulated": true,
  "warnings": []
}
Response

For Supabase Auth while Outgoing mail is not offered, use the Send Email hook in the Supabase guide, not the host above. Nodemailer against the API, rather than SMTP, is the Nodemailer guide.

FAQ

What are the Resend SMTP settings?

Host smtp.resend.com, username resend, and your API key as the password. Ports 465 and 2465 connect with TLS immediately. Ports 25, 587 and 2587 connect in the clear and then upgrade. Resend's SMTP page said this on 28 November 2026.

Which Resend SMTP port should I use?

Resend's Supabase guide and Resend's Nodemailer guide both use port 465. Port 587 is the STARTTLS option on the same SMTP page. Port 25 is listed there too.

What is the Resend SMTP username and password?

The username is resend. The password is the API key. The SMTP page does not describe a separate SMTP password.

How do I set Resend as custom SMTP in Supabase?

Open Supabase's Authentication SMTP page, which Supabase documents at the project path /auth/smtp. Paste host smtp.resend.com, port 465, username resend and the API key. Set a sender address on a domain you have verified at Resend, and a sender name. After you save, Supabase's page says the project is limited to 30 messages per hour until you raise that on the auth rate-limits page.

Does Resend's rate limit apply to SMTP?

Yes. Resend's SMTP FAQ says the limit is the same as the API. The usage-limits page says the default is 10 requests per second per team, across every API key on the team.

Where do emails sent with Resend SMTP show up?

In the emails table at https://resend.com/emails. Resend's SMTP FAQ says they do not provide SMTP server logs.

What are AgentiSend's SMTP settings?

Host smtp.agentisend.com, username agentisend, an API key as the password, port 587 or port 465. The status page reports Outgoing mail as not offered until that host is published. Until then, send with POST /emails.

Next