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

# Bulk send emails via automation

> DingTalk and Outlook support one-click OAuth — sign in and send. 163 and QQ require an SMTP authorization code.

## 1. When does auto-send make sense?

* HR: auto-email interview invites to candidates.
* E-commerce: bulk-contact influencers about sample shipments.
* Admin: send official approval results company-wide.

## 2. Which mailboxes are supported?

* DingTalk Mail
* Outlook
* 163 (NetEase)
* QQ Mail
* Note: bulk-receive is not supported.

## 2. Setup

> 🍤 DingTalk and Outlook support one-click OAuth — sign in and send. 163 and QQ require an SMTP authorization code.

### 2.1 DingTalk / Outlook one-click OAuth

* **Add** the Outlook node and create a new credential.

* **Credential name:** any text or numbers up to 20 characters — used to identify the authorized mailbox.

* Click confirm — you'll be redirected to Microsoft sign-in to authorize. Once done, pick the credential to use in the node.

### 2.2 163 / QQ — get an SMTP authorization code

* Sign in to your 163 mailbox.
* Go to **Settings** → **SMTP service** → **Enable**.
* Generate the authorization code (3) and save it immediately (it disappears once you close the page).
* Paste the code into **Credential management (3)** in the automation editor.
* Step-by-step guide for getting the SMTP authorization code:

[Help center — FAQ](https://help.mail.163.com/faqDetail.do?spm=a2q1e.b45810666.0.0.71474GSj4GSjdH\&code=d7a5dc8471cd0c0e8b4b8f4f8e49998b374173cfe9171305fa1ce630d7f67ac2a5feb28b66796d3b "Help center — FAQ")

### 2.2 Step 2: configure the send action

* **Fill in the email credential:** paste the credential code into the automation.

* **Compose the email:**
  * Subject: type directly or use a dynamic variable.
  * Recipients: variables recommended (multi-recipient supported).
  * Body: write per your business needs.

* **Critical settings:**
  * Encoding: pick UTF-8 (cannot be empty).
  * Attachments: leave blank (only attachment links are output today, not the file itself).
  * All fields: do not leave blank — empty fields cause the run to fail.

## 3. FAQ

* **Run failed with "remote service error" — what now?**
  * Re-check that subject, recipients, body, and encoding are filled, and that the attachment field is empty.
