mailintel
Y
consumeryandexapp password

Yandex Mail IMAP and SMTP settings

Yandex Mail (yandex.com, yandex.ru, ya.ru) requires an app password for mail clients and has its own set of hosts.

Connection
IMAP host
imap.yandex.com

port 993 · SSL/TLS

SMTP host
smtp.yandex.com

port 465 · SSL/TLS

Username

your full email address
password: app-specific
Setup

Connect in three steps

  1. 1

    Enable "Allow access to mail apps" in Yandex Mail settings.

  2. 2

    Create an app password under Security → App passwords.

Watch out

What usually breaks

  • Yandex has separate `yandex.com` and `yandex.ru` account systems; use the host matching the account.

  • Without an app password the IMAP login is rejected.

Detect it

Resolve it instead of hardcoding it

A custom domain on Yandex Mail has the same MX infrastructure as the consumer product. That is what mailintel reads.

yandex.ts
import { mailintel } from "mailintel";

const result = await mailintel("[email protected]");

result.provider;              // "yandex"
result.connection.imap;       // { host: "imap.yandex.com", port: 993, security: "tls" }
result.connection.smtp;       // { host: "smtp.yandex.com", port: 465, security: "tls" }
result.connection.username;   // "[email protected]"
FAQ
What is Yandex Mail's IMAP server?+

imap.yandex.com on port 993 using SSL/TLS. The username is the full email address, and an app password is required when two-factor authentication is enabled.

What is Yandex Mail's SMTP server?+

smtp.yandex.com on port 465 using SSL/TLS. Most clients also accept the alternate submission port with STARTTLS.

Does Yandex Mail need an app password?+

Yes, in practice. Yandex Mail rejects normal account passwords for IMAP and SMTP once 2FA is on, so generate an app-specific password.