How It Works/Emails
Emails
Jetpacked does not support outbound SMTP. Port 25 and other standard SMTP ports are blocked at the infrastructure level, which means you cannot send email directly from your app using a raw SMTP connection or a self-hosted mail server.
Use a transactional email service
To send email from your app, use a transactional email provider that delivers over HTTPS rather than SMTP:
- Resend — simple API, great developer experience, generous free tier
- Postmark — reliable deliverability, strong for transactional email
- SendGrid — widely supported, has an HTTPS API alongside SMTP
- Mailgun — good for high-volume sending
All of these work without any special configuration on Jetpacked's side. Add your API key as an environment variable and use the provider's SDK or HTTP API from your application code.
Example
With Resend and Node.js:
RESEND_API_KEY=re_...
import { Resend } from 'resend'
const resend = new Resend(process.env.RESEND_API_KEY)
await resend.emails.send({
from: 'hello@yourdomain.com',
to: 'user@example.com',
subject: 'Welcome',
html: '<p>Thanks for signing up.</p>',
})