Sign inGet Started

SMTP

Send email with Nodemailer SMTP

Use Parcel Wing SMTP from Node.js apps that already use Nodemailer.

SMTP settings

Copy the exact values from your in-app Settings page. Most accounts use these defaults.

SettingValue
Hostsmtp.parcelwing.com
Port587
SecuritySTARTTLS
Usernameparcelwing
PasswordAny active Parcel Wing API key

Install

Terminal

npm install nodemailer

Send email

Set secure to false when using port 587 with STARTTLS.

send-email.ts

import nodemailer from "nodemailer";
 
const transporter = nodemailer.createTransport({
host: "smtp.parcelwing.com",
port: 587,
secure: false,
auth: {
user: "parcelwing",
pass: process.env.PARCELWING_API_KEY,
},
});
 
await transporter.sendMail({
from: "Acme <[email protected]>",
subject: "Hello from Parcel Wing SMTP",
text: "It works.",
html: "<strong>It works!</strong>",
});

Use a verified sender

Your from address should belong to a sending domain that is verified in Parcel Wing. This keeps SPF, DKIM, and DMARC aligned for better deliverability.

Troubleshooting

  • Use port 587 with STARTTLS, not implicit TLS on port 465.
  • Use parcelwing as the username and an active Parcel Wing API key as the password.
  • Make sure the sender address uses a verified sending domain.
  • If a vendor has a test email button, send a test before enabling production email.