Unlock Sentinel · Automatic Delivery Guide

SMTP Email Setup

Send recordings from your own mailbox. Enable client sending and obtain an authorization code from your provider, enter the settings in the app, then confirm receipt with a short recording.

This guide works offline; official links require internet access. Example accounts and passwords are placeholders and cannot be used as credentials. Never share your real authorization code.

1. Enable sending for your mailbox

You need a mailbox that allows third-party clients to send through SMTP. QQ and 163 generally use a client authorization code; Gmail uses an app password when the account permits it. These are not Resend API Keys. Do not assume that your webmail login password is the right credential.

This channel supports AUTH LOGIN / PLAIN password authentication over an encrypted connection. Accounts that require OAuth2 only, or cannot create the required authorization code or app password, cannot use this channel.

SSL/TLS: encrypted from connection start
Usually port 465. Select SSL/TLS in the app. The QQ and 163 examples below use this mode.
STARTTLS: connect, then require encryption
Usually port 587. Select STARTTLS. Sending stops if the server cannot upgrade or the upgrade fails; it never falls back to a plain-text login.

The port and encryption mode must match. The app does not offer plain-text login or allow TLS certificate validation to be disabled. Use the server hostname from your provider; ignoring certificate errors is not a supported fix.

2. Enter settings in the app

Open Automatic Delivery and choose SMTP Email. Obtain the provider's settings using the next section, then enter:

SMTP server
A hostname, such as smtp.qq.com. Do not add https://, smtp://, a path or a port. Enter the port separately.
Port
The number specified by the provider. Usually 465 pairs with SSL/TLS and 587 with STARTTLS. Do not change only the port while leaving the wrong encryption mode.
Encryption
Select SSL/TLS or STARTTLS as required by your provider.
Username
Usually your complete email address, including the @ suffix. For enterprise mailboxes with a different SMTP username, use the account provided by your administrator.
Authorization code / password
Paste the authorization code or app password generated for third-party clients of this mailbox. Do not add Bearer or enter an API Key. Use a provider-specified SMTP password only when explicitly supported.
Sender address
One complete email address. Start with the same address as your login account. Aliases and other senders must be authorized for that account by the provider; do not impersonate another address.
Recipient email
One mailbox you can check, such as owner@example.net. Comma- or semicolon-separated multiple addresses are unsupported. The sender field also accepts one address only.
Setup guide
Opens this page. It is not a server parameter to fill in.

127.0.0.1 and localhost refer to the phone running the app, not your computer. A mail service on a computer needs an address reachable from the phone and must satisfy TLS certificate validation.

The email body is a short security-recording notice with the video attached. No diagnostic JSON is included. First turn off “Include Current Location”. After basic delivery works, enable location through the normal permission flow if needed. Location text is added to the body; the video is still sent if no location is obtained.

3. QQ, 163 and Gmail examples

These are typical personal mailbox settings, not proof of testing for every account, region or enterprise mailbox. Provider interfaces may change. Follow the service switches and security checks on your current account page. Replace every YOUR_ACCOUNT with your own account.

QQ Mail

  1. Sign in to QQ webmail. Open Settings → Account and find the POP3/IMAP/SMTP services.
  2. Enable a client service that includes SMTP, such as IMAP/SMTP or POP3/SMTP, and complete the required identity checks.
  3. Generate and securely save an authorization code. Enter it under “Authorization code / password”. It is not your QQ password or webmail login password.
SMTP server: smtp.qq.com
Port: 465
Encryption: SSL/TLS
Username: YOUR_ACCOUNT@qq.com
Authorization code / password: paste the new QQ Mail authorization code
Sender address: YOUR_ACCOUNT@qq.com
Recipient email: owner@example.net

Sources: QQ client service switches; Tencent authorization code steps; Tencent QQ SMTP settings example.

163 Mail

  1. Sign in to 163 webmail. Open Settings → POP/SMTP/IMAP, or the similarly named client protocol settings.
  2. Enable a client service that includes SMTP. Follow the account page and complete security checks such as SMS verification when required.
  3. Save the generated client authorization code; it is shown only once. You can generate another code in the same settings if needed, then update the app.
SMTP server: smtp.163.com
Port: 465
Encryption: SSL/TLS
Username: YOUR_ACCOUNT@163.com
Authorization code / password: paste the new NetEase client authorization code
Sender address: YOUR_ACCOUNT@163.com
Recipient email: owner@example.net

This example is for a personal @163.com mailbox, not NetEase enterprise mail. Do not mix the enterprise server settings with these.

Source: NetEase client protocols, authorization codes and server settings.

Gmail

  1. Sign in to your Google account and enable 2-Step Verification following Google's official instructions.
  2. Open App passwords, create a password for this app, and enter the generated value under “Authorization code / password”. Do not use your normal Google account password.
  3. Start with the same full Gmail address for username and sender. Choose either of the pairs below; do not mix their port and encryption settings.
SMTP server: smtp.gmail.com
Port / encryption: 465 + SSL/TLS
               or: 587 + STARTTLS
Username: YOUR_ACCOUNT@gmail.com
Authorization code / password: the app password generated by Google
Sender address: YOUR_ACCOUNT@gmail.com
Recipient email: owner@example.net

Enabling 2-Step Verification does not guarantee that app passwords are available. Work or school accounts, security-key-only accounts and Advanced Protection accounts may not offer them. The app does not support accounts whose administrator forbids password-based SMTP or requires OAuth2. Do not disable 2-Step Verification to try to bypass this restriction.

Changing your Google account password may revoke app passwords. Create a new one and update the app if needed. The phone's current network must also be able to connect to Gmail's SMTP service.

Sources: Google SMTP hostname, ports and encryption; App passwords and account restrictions.

4. Verify receipt with a short recording

  1. Confirm client sending is enabled and the account and authorization code are correct. Enable protection in the app and check that your license is valid.
  2. Make a new short test recording on your own device, let it finish normally, then check delivery status.
  3. Open the recipient mailbox and check the inbox, spam and filtering rules. Match the email's time and recording notice, and confirm the complete video attachment plays correctly.
  4. If the provider rejects or bounces the message, use the specific error to check account permissions, sender address and size limits, then test a new short recording.

After the entire message is uploaded, the SMTP server's final 250 only means the server accepted it, not that it reached the inbox or was read. Actual verification means receiving this email and being able to play the video.

A network failure or timeout can happen after the server has accepted the message. Unknown results are not blindly retried. Check the inbox or provider logs first to avoid duplicates. Failure does not delete the local recording.

After changing the channel, server, account or recipient, test with a new recording. Old jobs are not redirected to the new destination.

5. Video attachment size limits

The app's local SMTP limit for the original video is 25 MiB (26,214,400 bytes). This is not a provider guarantee of accepted size.

Base64 encoding of the MIME video attachment adds roughly one third to its size; headers, body and boundaries add more. The provider, enterprise gateway or recipient may impose a lower limit, so even an original video below 25 MiB can be rejected.

Start with a recording of a few seconds. Shorten it if you hit a size limit. The app does not split attachments or create cloud links automatically. Failed sends retain the local video.

6. Troubleshooting

Connection failure, timeout or server not found
Check the hostname and the phone's current network. Do not enter a webmail URL or use your computer's 127.0.0.1 as the phone's server. Check whether the network or provider blocks the port.
TLS or certificate error
Check the port/encryption pair, phone time and server certificate validity and hostname. Ask the provider to fix certificate problems; the app cannot disable validation or fall back to plain text.
STARTTLS unavailable
Confirm the provider supports STARTTLS on that port. If it specifies 465, use 465 + SSL/TLS. Do not change just one setting.
Authentication failure, such as 535
Check the complete account suffix, enabled SMTP service and a non-revoked authorization code for that same account. QQ and 163 use authorization codes, not webmail passwords. Gmail uses an app password. OAuth2-only accounts are unsupported.
Sender or recipient rejected
Start with the sender matching the login account. Aliases must be authorized by the provider and the recipient must exist. Enter a single email address in each field, without a display name or multiple recipients.
Attachment, quota or rate limit
Check the current provider error and try a shorter recording. Encoded mail is larger than the original file. Use the account's current dashboard for limits.
Accepted, but no recording in the mailbox
Check spam, filters, bounces and delivery logs. Final 250 does not guarantee delivery. For unknown results, check receipt before making repeated new test events.
Location unavailable
Location is not required to send the video. The video is still sent with a location-unavailable note. If the video itself was not sent, check delivery status, protection and license.

For enterprise mail, ask your administrator about the server, TLS, login method and allowed sender addresses. Supporting standard SMTP settings does not guarantee compatibility with every enterprise account policy.

Official references

These links require internet access. Use your mailbox provider's current account settings for service switches, authentication and parameters.