> ## Documentation Index
> Fetch the complete documentation index at: https://sendroid.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# QQ Mail

> How to get a QQ Mail authorization code and configure IMAP and SMTP

QQ Mail uses an **authorization code** instead of an app password. Use the authorization code as the client password—it is **not** your QQ login password.

## Get an authorization code

<Steps>
  <Step title="Enable IMAP/SMTP">
    Sign in to [QQ Mail web](https://mail.qq.com) → **Settings** → **Account**. Under **POP3/IMAP/SMTP/Exchange/CardDAV/CalDAV Service**, enable **IMAP/SMTP Service**.
  </Step>

  <Step title="Generate the authorization code">
    Complete SMS verification as prompted. The system will provide a **16-character authorization code**. Copy and save it immediately.
  </Step>
</Steps>

## IMAP / SMTP server settings

| Protocol             | Server        | Port | Encryption |
| -------------------- | ------------- | ---- | ---------- |
| **IMAP**             | `imap.qq.com` | 993  | SSL/TLS    |
| **SMTP**             | `smtp.qq.com` | 465  | SSL/TLS    |
| **SMTP (alternate)** | `smtp.qq.com` | 587  | STARTTLS   |

* **Username**: Full QQ Mail address (e.g. `123456789@qq.com`)
* **Password**: Authorization code

<Warning>
  Re-enabling IMAP/SMTP or changing security settings may invalidate the authorization code. Regenerate it in the web UI and update your client.
</Warning>

## Frequently asked questions

<AccordionGroup>
  <Accordion title="What's the 授权码 (authorization code) and why do I need it?">
    QQ Mail's app password — a 16-character code separate from your QQ login. Generated in Mail Settings when you enable IMAP/SMTP. Your QQ login password will not authenticate over IMAP.
  </Accordion>

  <Accordion title="Where do I enable IMAP in QQ Mail?">
    QQ Mail web → **Settings** → **Account** → scroll to **POP3/IMAP/SMTP/Exchange/CardDAV/CalDAV Service** → enable **IMAP/SMTP Service**. SMS verification is required.
  </Accordion>

  <Accordion title="Does it work for @foxmail.com addresses?">
    Yes — Foxmail is QQ Mail's enterprise/personal brand variant on the same backend. Use the same `imap.qq.com` / `smtp.qq.com` hosts with the Foxmail address as username.
  </Accordion>
</AccordionGroup>

<script
  type="application/ld+json"
  dangerouslySetInnerHTML={{
__html: JSON.stringify({
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "@id": "https://sendroid.app/docs/guides/email/qq#faq",
  mainEntity: [
    { "@type": "Question", name: "What is the QQ Mail authorization code?", acceptedAnswer: { "@type": "Answer", text: "QQ Mail's app password — a 16-character code separate from your QQ login. Generated in Mail Settings when you enable IMAP/SMTP. Your QQ login password will not authenticate over IMAP." } },
    { "@type": "Question", name: "Where do I enable IMAP in QQ Mail?", acceptedAnswer: { "@type": "Answer", text: "QQ Mail web → Settings → Account → scroll to POP3/IMAP/SMTP/Exchange/CardDAV/CalDAV Service → enable IMAP/SMTP Service. SMS verification is required." } },
    { "@type": "Question", name: "Does it work for @foxmail.com addresses?", acceptedAnswer: { "@type": "Answer", text: "Yes — Foxmail is QQ Mail's enterprise/personal brand variant on the same backend. Use the same imap.qq.com / smtp.qq.com hosts with the Foxmail address as username." } },
  ],
}),
}}
/>
