Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Postbox
  • Getting started
  • Access management
  • Pricing policy
    • API authentication
    • How to use the API
    • Signing requests
      • SMTP responses
  • Metrics Monitoring
  • Audit Trails events
  • Public materials
  • Release notes
  • FAQ

In this article:

  • Successful responses
  • Temporary 4xx errors
  • Permanent 5xx errors
  • Authentication and authorization
  • Order of commands and TLS
  • Sender and recipients
  • Quotas and message size
  • Syntax and validation
  • Request ID
  1. API reference
  2. SMTP
  3. SMTP responses

SMTP responses

Written by
Yandex Cloud
Updated at August 4, 2026
View in Markdown
  • Successful responses
  • Temporary 4xx errors
  • Permanent 5xx errors
    • Authentication and authorization
    • Order of commands and TLS
    • Sender and recipients
    • Quotas and message size
    • Syntax and validation
  • Request ID

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 responsesSuccessful responses

Code

Enhanced code

Text

Value

250

2.6.0

OK: queued as <message-id>

Email accepted and queued for sending. <message-id> is the message ID.

Temporary 4xx errorsTemporary 4xx errors

Responses with the 4xx code mean that you can repeat your request later.

Code

Enhanced code

Text

Cause

What to do

421

4.3.0

Unexpected error.

Internal service error or unexpected processing error.

Resend later. If the error persists, contact support with RequestID.

451

4.4.2

Timeout waiting for data from client

Email body retrieval timeout expired or the connection was interrupted during data transmission.

Check the network connection and client timeouts, then resend.

452

5.5.3

Maximum limit of <N> recipients reached

Recipient limit per email exceeded.

Split the send into multiple emails with fewer recipients.

454

—

Maximum sending rate exceeded

Sending rate limit (rate limit) exceeded for the cloud.

Reduce sending rate and repeat the request later.

Permanent 5xx errorsPermanent 5xx errors

5XX responses mean that the request will be not processed if not modified. Repeating it as is makes no sense.

Authentication and authorizationAuthentication and authorization

Code

Enhanced code

Text

Cause

What to do

538

5.7.8

Authentication credentials invalid

No login or password provided, or credentials have an invalid signature format or are Base64 encoded.

Check your SMTP username and password.

535

5.7.8

Authentication failed

Credentials verification failed: invalid IAM token, API key, or static key.

Make sure your credentials are up-to-date and correct.

534

5.7.8

Authorization failed

Access permissions validation error.

Repeat your request later. If the error persists, contact support.

534

5.7.8

Not enough permissions

Credentials are correct, but the service account is not authorized to send emails.

Assign the postbox.sender role or higher to the service account.

Order of commands and TLSOrder of commands and TLS

Code

Enhanced code

Text

Cause

What to do

530

5.7.0

Must issue a STARTTLS command first

Command sent over an unencrypted connection.

Establish a TLS connection (STARTTLS or SMTPS) before authentication and sending.

502

5.7.0

Please authenticate first

The MAIL FROM, RCPT TO, or DATA command executed before successful authentication.

Execute AUTH before you send the email.

Sender and recipientsSender and recipients

Code

Enhanced code

Text

Cause

What to do

550

—

Empty envelope senders not allowed

Authenticated client specifies an empty sender address (MAIL FROM:<>).

Provide a valid sender address.

550

5.4.1

identity not found

Sender address not found.

Make sure the sender address was created in Yandex Cloud Postbox.

550

5.4.1

identity not verified

Sender address not verified.

Complete domain ownership verification.

550

5.4.1

identity is blocked

Sender address blocked.

Contact support to find out the reason for blocking.

550

5.7.1

sender is not allowed

Sender not on allowed list for the address.

Use an allowed sender or add the sender to the allowed list.

Quotas and message sizeQuotas and message size

Code

Enhanced code

Text

Cause

What to do

550

5.4.5

Daily sending quota exceeded.

Daily sending quota exceeded.

Wait for a quota reset or request an increase.

550

5.5.3

too many recipients (recipient count quota exceeded)

Quota for the number of recipients exceeded.

Reduce the number of recipients or request a quota increase.

552

5.3.4

message is too big (message size quota exceeded)

Message size quota exceeded.

Reduce message size: email body or attachments.

552

5.3.4

Maximum message size exceeded

Message size exceeds the server's technical limit.

Reduce message size.

Syntax and validationSyntax and validation

Code

Enhanced code

Text

Cause

What to do

500

—

Line too long

Command line too long.

Check your SMTP command format and shorten the lines as per the RFC 2822 line length limit.

500

—

validation failed or a specific validation message

Request failed to pass validation.

Correct the email as per the error text.

501

—

Syntax error in parameters or arguments

Failed to parse the address in the MAIL FROM or RCPT TO command, or the address is empty.

Make sure the sender and recipient addresses are correct.

Request IDRequest ID

If the response contains RequestID: <request-id>, save this ID and include it when contacting support to speed up troubleshooting.

Was the article helpful?

Previous
Request headers
Next
Metrics Monitoring
© 2026 Direct Cursus Technology L.L.C.