-
Notifications
You must be signed in to change notification settings - Fork 10
sinspired edited this page Jan 22, 2026
·
3 revisions
Tip
通过标准 SMTP 发送邮件通知,支持常见邮箱(Gmail、Outlook/Office365、QQ、163 等)。ⓘ 查看详细教程
- 简洁账号内嵌格式(主机为 SMTP 服务器)
mailto://{user}:{password}@{smtp_host}:{port}
- 参数式格式(更利于包含特殊字符的账户)
mailtos://{smtp_host}:{port}?user={user}&pass={password}&from={from_email}&to={to_email}
常用可选参数(依据服务端支持不同可能略有差异):
-
from:发件人邮箱地址 -
to:收件人,多个收件人可用/继续追加:.../to1@example.com/to2@example.com -
name:发件人显示名称(需 URL 编码) -
secure:yes|no|starttls(如端口 465 常用yes,端口 587 常用starttls) -
format:text|html|markdown
Note
- 部分邮箱需开启“SMTP/POP3/IMAP”或使用“应用专用密码”(App Password)。
- 端口常见:465(SSL/TLS),587(STARTTLS),25(明文/受限)。
mailtos://smtp.gmail.com:465?user=you@gmail.com&pass=APP_PASSWORD&from=you@gmail.com&to=target@example.com或(多收件人):
mailtos://smtp.gmail.com:465?user=you@gmail.com&pass=APP_PASSWORD&from=you@gmail.com&to=alice@example.com/bob@example.commailtos://smtp.office365.com:587?user=you@outlook.com&pass=PASSWORD&from=you@outlook.com&to=target@example.com&secure=starttlsmailtos://smtp.qq.com:465?user=你的QQ邮箱@qq.com&pass=授权码&from=你的QQ邮箱@qq.com&to=target@example.commailtos://smtp.163.com:465?user=你的账号@163.com&pass=授权码&from=你的账号@163.com&to=target@example.com- Apprise 服务文档:Email
