SMTP responses
When sending via SMTP, Yandex Cloud Postbox returns responses in SMTP format: numeric response code, enhanced status code (enhanced status code), and text comment. For responses with 4xx or 5xx codes, a request ID (RequestID) is added to the text. Provide it when contacting support.
550 5.4.1 identity not verified RequestID: <request-id>
Successful responses
|
Code |
Enhanced code |
Text |
Value |
|
|
|
|
Email accepted and queued for sending. |
Temporary 4xx errors
Responses with the 4xx code mean that you can repeat your request later.
|
Code |
Enhanced code |
Text |
Cause |
What to do |
|
|
|
|
Internal service error or unexpected processing error. |
Resend later. If the error persists, contact support with |
|
|
|
|
Email body retrieval timeout expired or the connection was interrupted during data transmission. |
Check the network connection and client timeouts, then resend. |
|
|
|
|
Recipient limit per email exceeded. |
Split the send into multiple emails with fewer recipients. |
|
|
— |
|
Sending rate limit ( |
Reduce sending rate and repeat the request later. |
Permanent 5xx errors
5XX responses mean that the request will be not processed if not modified. Repeating it as is makes no sense.
Authentication and authorization
|
Code |
Enhanced code |
Text |
Cause |
What to do |
|
|
|
|
No login or password provided, or credentials have an invalid signature format or are Base64 encoded. |
Check your SMTP username and password. |
|
|
|
|
Credentials verification failed: invalid IAM token, API key, or static key. |
Make sure your credentials are up-to-date and correct. |
|
|
|
|
Access permissions validation error. |
Repeat your request later. If the error persists, contact support. |
|
|
|
|
Credentials are correct, but the service account is not authorized to send emails. |
Assign the |
Order of commands and TLS
|
Code |
Enhanced code |
Text |
Cause |
What to do |
|
|
|
|
Command sent over an unencrypted connection. |
Establish a TLS connection (STARTTLS or SMTPS) before authentication and sending. |
|
|
|
|
The |
Execute |
Sender and recipients
|
Code |
Enhanced code |
Text |
Cause |
What to do |
|
|
— |
|
Authenticated client specifies an empty sender address ( |
Provide a valid sender address. |
|
|
|
|
Sender address not found. |
Make sure the sender address was created in Yandex Cloud Postbox. |
|
|
|
|
Sender address not verified. |
Complete domain ownership verification. |
|
|
|
|
Sender address blocked. |
Contact support to find out the reason for blocking. |
|
|
|
|
Sender not on allowed list for the address. |
Use an allowed sender or add the sender to the allowed list. |
Quotas and message size
|
Code |
Enhanced code |
Text |
Cause |
What to do |
|
|
|
|
Daily sending quota exceeded. |
Wait for a quota reset or request an increase. |
|
|
|
|
Quota for the number of recipients exceeded. |
Reduce the number of recipients or request a quota increase. |
|
|
|
|
Message size quota exceeded. |
Reduce message size: email body or attachments. |
|
|
|
|
Message size exceeds the server's technical limit. |
Reduce message size. |
Syntax and validation
|
Code |
Enhanced code |
Text |
Cause |
What to do |
|
|
— |
|
Command line too long. |
Check your SMTP command format and shorten the lines as per the RFC 2822 line length limit |
|
|
— |
|
Request failed to pass validation. |
Correct the email as per the error text. |
|
|
— |
|
Failed to parse the address in the |
Make sure the sender and recipient addresses are correct. |
Request ID
If the response contains RequestID: <request-id>, save this ID and include it when contacting support to speed up troubleshooting.