Skip to content
DeployAI
WarningCode email_smtp

Sends email through SMTP, which does not run here

What it means

The site sends email through SMTP (for example with nodemailer).

Why it is only a warning

This is a warning. The site goes live, but SMTP does not run here, so the emails will not be sent.

How to fix it

  1. Email to you, for example on a form answer: the DeployAI built-in email, with no email provider and no keys.
  2. Email to customers: an email service over HTTP, like Resend or Postmark.

Prompt for your agent

Copy it and paste it into your agent. It fixes the project, explains each step, and runs the check again.

DeployAI check found this in the project: Sends email through SMTP, which does not run here.
For email to the site owner (a form answer, a new order), use the built-in email: POST JSON { subject, text, replyTo } to `${DEPLOYAI_API}/api/site/notify` with Authorization: Bearer DEPLOYAI_KEY, with no keys to ask for. For email to customers, use an HTTP email API (Resend, Postmark) with its key set by npx deployai@latest env set. Remove the SMTP library.
Explain your plan and wait for my approval before architectural changes. Do not remove features without asking.
Explain every step to me in simple words.
When done, run: npx deployai@latest check