SMTP reference
Connection
Section titled “Connection”| Item | Value |
|---|---|
| Host | smtp.weneed.email |
| Ports | 587 STARTTLS, 465 implicit TLS |
| TLS | Required, version 1.2 or newer |
| Authentication | PLAIN or LOGIN, after TLS only |
| Connections | 20 per port; 30 seconds idle timeout; 60 seconds to finish DATA |
| Failed logins | Throttled after 10 failures per address per minute |
Message limits
Section titled “Message limits”- One recipient per message. A second
RCPT TOis refused with552 5.5.3. Frommust exactly match the approved sender.- Body:
text/plain,text/html, or onemultipart/alternativewith one of each. UTF-8 or US-ASCII. - No attachments, nested MIME parts,
SMTPUTF8, DSN orREQUIRETLS. - Up to 2 MiB per message and 1 MiB of decoded body. Lines up to 998 bytes; headers up to 32 KiB and 100 fields.
- Headers that claim routing or authentication (
Received,Return-Path,DKIM-Signature,Authentication-Resultsand similar) are refused.Bccand unknown custom headers are dropped. X-Email-Idempotency-Key: optional, 16–128 printable characters. A retry with the same key must be the identical message, includingMessage-IDandDate.
Reply codes
Section titled “Reply codes”| Code | Meaning | Do |
|---|---|---|
250 |
Stored and queued | Nothing. Follow the message in the timeline. |
451 |
Temporarily unavailable or outcome uncertain | Retry the identical message with the same key. Never a new key. |
452 |
Sending limit reached | Retry later with the same key, or check your allowance. |
454 4.7.0 |
Too many failed logins | Wait, then check the credential. |
530 or 538 |
Encryption or sign-in missing | Start TLS before signing in, then sign in. |
535 |
Credential or sending not authorized | Check the username and password; revoked or expired credentials are refused. If sign-in worked but a message gets 535, the sender has no sending permission yet or sending is paused. |
550 |
Idempotency key reused with different content | Send the original message, or use a new key for a new message. |
550 5.6.0 |
Message or sender refused | Send from the exact sender, to one valid recipient, with a valid message. Don’t resend unchanged. |
552 |
Message too large, or a second recipient | Reduce the size; send one message per recipient. |