If your application, CMS or framework can already send email over SMTP, point it at Pigeonify instead of writing API code. Every message goes through the same checks as the send API.
Settings
| Setting | Value |
|---|---|
| Host | smtp.pigeonify.com |
| Port 587 | STARTTLS |
| Port 465 | Implicit TLS (encrypted from the first byte) |
| Username | Your SMTP username, from Settings → SMTP |
| Password | Your SMTP password, shown once when generated |
| Authentication | Required |
| Maximum message size | 25 MB |
TLS is required. Pigeonify refuses to log you in over an unencrypted connection, so your password is never sent in clear. On port 587 your client must issue STARTTLS before logging in. Most do this automatically; if yours has an option such as requireTLS or "Use TLS", turn it on. On port 465, choose SSL/TLS (in Nodemailer, secure: true).
Getting credentials
Only the account owner or an admin can create or reset SMTP credentials. Team members do not see the SMTP tab. See Team accounts.
- Go to Settings in the sidebar and open the SMTP tab.
- Click Generate SMTP Credentials.
- Copy the Username and Password with the copy buttons. The password is shown only once. Store it in your secrets manager or environment variables.
The tab also lists your Verified Domains (can send from) and an example configuration.
An account has one set of SMTP credentials. If you lose the password, or think it has leaked:
- Open Settings → SMTP.
- Click Reset Credentials.
The old password stops working immediately and a new one is shown once. Your username stays the same. Update every application that used the old password.
Example (Node.js)
import nodemailer from "nodemailer"
const transporter = nodemailer.createTransport({
host: "smtp.pigeonify.com",
port: 587,
secure: false, // STARTTLS on 587; use port 465 with secure: true for implicit TLS
requireTLS: true, // refuse to send if the upgrade fails
auth: {
user: process.env.PIGEONIFY_SMTP_USER,
pass: process.env.PIGEONIFY_SMTP_PASSWORD,
},
})
await transporter.sendMail({
from: "Acme <hello@yourdomain.com>", // must be on a verified domain
to: "ada@example.com",
subject: "Your receipt",
html: "<p>Thanks for your order.</p>",
})
More examples, including Python, are in the SMTP reference.
How messages are handled
- The From address decides the domain. The address in the message's
Fromheader must be on a domain verified in your account. See Sending domains. - Every recipient is a separate message. Pigeonify reads the recipients from the SMTP envelope, so To, Cc and Bcc addresses are all delivered, each as its own message, and each is checked on its own.
- A subject and a body are required. A message with no subject, or with neither an HTML nor a plain-text part, is refused.
- An unsubscribe link and
List-Unsubscribeheaders are added to every message. Over SMTP we cannot tell a newsletter from a receipt, so they are applied to everything. Messages are also signed with DKIM for your domain. - Open and click tracking is not applied to SMTP mail. If you need it, use the send API with
track_opensortrack_clicks.
What is checked
For each recipient, in this order:
- Rate limits: 100 messages per minute per account, with a ceiling of 3 per second. Each recipient counts as one message.
- Sending is not paused on the account. See Account health.
- The From domain is verified in your account.
- Sandbox rules, if you send from your sandbox domain: only to authorised recipients, and at most 50 messages a day.
- Your plan's sending allowance. See Sending limits.
- The content screen.
- The recipient is not on the platform-wide list of undeliverable addresses, and not on your own suppression list.
Reply codes
| Reply | Meaning | Retry? |
|---|---|---|
250 |
Accepted. If only some recipients were refused, the reply says "Accepted 2 of 3 recipient(s)" and the refused ones are not sent | No |
535 |
Invalid username or password, or "Authentication succeeded, but this account cannot send" followed by the reason | No. Fix the credentials, or the account problem named |
538 / 530 |
You tried to log in before starting TLS, or tried to send without logging in | No. Fix the client settings |
552 |
Message larger than 25 MB | No |
550 |
Refused for good: unverified From domain, recipient unsubscribed or suppressed, recipient not authorised for the sandbox, content refused, or a missing subject or body | No |
451 |
Temporary: rate limit, plan allowance spent, sandbox daily limit, or a problem on our side | Yes, with backoff |
A 5xx will never succeed by retrying unchanged. A 4xx should be retried; most SMTP clients and libraries do this for you.
Troubleshooting
Login fails with "this account cannot send". The credentials are right, but sending on the account is paused or the account is scheduled for deletion. The message says which, and when a pause ends. Check the dashboard for a Sending is paused on this account banner.
Login fails with "Invalid username or password". The username or password is wrong. Reset the credentials under Settings → SMTP and update your app.
"Must issue a STARTTLS command first".
Your client is trying to log in on port 587 without encryption. Turn on STARTTLS or requireTLS, or use port 465 with SSL/TLS.
The connection hangs or times out. Some networks and hosting providers block outgoing SMTP ports. Try the other port (587 or 465). If both are blocked, use the send API, which works over HTTPS.
"The domain … is not verified for your account". Check the From header, not the login. Your SMTP username is not an email address; the From address must be on a domain listed under Verified Domains (can send from).
The client said it sent, but one recipient got nothing. When some recipients are accepted and others refused, the reply is still a success, so the client does not resend the accepted ones. The usual cause is that the address unsubscribed, bounced or complained. Look it up under Suppressions. See Suppressions and unsubscribes.
Everything returns 451. You may be over 100 messages a minute, or your plan's allowance is spent. Slow your client down, or check Settings → Usage.
Still stuck? Email support@pigeonify.com with the time of the attempt and the reply you received. Never send us your password.