Loading...
Loading...
Compare original and translation side by side
agent_skill_test@126.comagent_skill_test@126.com| Information | Description | Example |
|---|---|---|
Recipient ( | Email address to send to | |
Subject ( | Email subject line | |
Content ( | Email body text or HTML | |
agent_skill_test@126.comagent_skill_test@126.com| 信息 | 描述 | 示例 |
|---|---|---|
收件人 ( | 收件人邮箱地址 | |
主题 ( | 邮件主题 | |
内容 ( | 邮件正文文本或HTML | |
agent_skill_test@126.comagent_skill_test@126.com@gmail.com, @googlemail.com → Gmail
@outlook.com, @hotmail.com, @live.com, @office365.com → Outlook/Office 365
@qq.com, @vip.qq.com → QQ Mail
@163.com, @126.com → NetEase Mail
@aliyun.com, @aliyun-inc.com → Aliyun Mail
@sendgrid.net, @*.sendgrid.net → SendGrid
@*.mailgun.org → Mailgun
Other domains → Custom SMTP (ask for server, port, username, password)@gmail.com, @googlemail.com → Gmail
@outlook.com, @hotmail.com, @live.com, @office365.com → Outlook/Office 365
@qq.com, @vip.qq.com → QQ邮箱
@163.com, @126.com → 网易邮箱
@aliyun.com, @aliyun-inc.com → 阿里云邮箱
@sendgrid.net, @*.sendgrid.net → SendGrid
@*.mailgun.org → Mailgun
其他域名 → 自定义SMTP(需提供服务器、端口、用户名、密码)smtp.gmail.com587465smtp.office365.com587smtp.qq.com587465smtp.163.com465994smtp.126.com46525smtp.sendgrid.net587465apikeysmtp.mailgun.org587smtp.gmail.com587465smtp.office365.com587smtp.qq.com587465smtp.163.com465994smtp.126.com46525smtp.sendgrid.net587465apikeysmtp.mailgun.org587######**bold***italic*- item1. item[text](url)--content-type html######**粗体***斜体*- 项目1. 项目[文本](网址)--content-type html--from-name--content-type html--attach--template--template-vars--from-name--content-type html--attach--template--template-varsReady to send:
From: [Sender Email]
To: [Recipient Email]
Subject: [Subject]
Content Type: [Plain/HTML]
Attachments: [List of attachments or None]
Proceed to send? (y/n)准备发送:
发件人:[发件人邮箱]
收件人:[收件人邮箱]
主题:[主题]
内容类型:[纯文本/HTML]
附件:[附件列表或无]
是否继续发送?(y/n)agent_skill_test@126.comagent_skill_test@126.comagent_skill_test@126.comagent_skill_test@126.compython3 scripts/send_email.py \
--to recipient@example.com \
--subject "Email Subject" \
--content "Email body content" \
--smtp-server smtp.gmail.com \
--smtp-port 587 \
--username your@email.com \
--password your-password-or-app-passwordpython3 scripts/send_email.py \
--to recipient@example.com \
--subject "Email Subject" \
--content "Email body content" \
--smtp-server smtp.gmail.com \
--smtp-port 587 \
--username your@email.com \
--password your-password-or-app-passwordpython3 scripts/send_email.py \
--to recipient@example.com \
--subject "Email Subject" \
--content "<h1>Hello</h1><p>HTML content</p>" \
--content-type html \
--smtp-server smtp.gmail.com \
--smtp-port 587 \
--username your@email.com \
--password your-passwordpython3 scripts/send_email.py \
--to recipient@example.com \
--subject "Email Subject" \
--content "<h1>Hello</h1><p>HTML content</p>" \
--content-type html \
--smtp-server smtp.gmail.com \
--smtp-port 587 \
--username your@email.com \
--password your-passwordpython3 scripts/send_email.py \
--to recipient@example.com \
--subject "Email Subject" \
--content "Email body" \
--attach /path/to/file1.pdf \
--attach /path/to/file2.csv \
--smtp-server smtp.gmail.com \
--smtp-port 587 \
--username your@email.com \
--password your-passwordpython3 scripts/send_email.py \
--to recipient@example.com \
--subject "Email Subject" \
--content "Email body" \
--attach /path/to/file1.pdf \
--attach /path/to/file2.csv \
--smtp-server smtp.gmail.com \
--smtp-port 587 \
--username your@email.com \
--password your-passwordpython3 scripts/send_email.py \
--to recipient@example.com \
--subject "Email Subject" \
--template assets/simple-notification.html \
--template-vars '{"title":"Notification","message":"Your report is ready!"}' \
--content-type html \
--smtp-server smtp.gmail.com \
--smtp-port 587 \
--username your@email.com \
--password your-passwordpython3 scripts/send_email.py \
--to recipient@example.com \
--subject "Email Subject" \
--template assets/simple-notification.html \
--template-vars '{"title":"Notification","message":"Your report is ready!"}' \
--content-type html \
--smtp-server smtp.gmail.com \
--smtp-port 587 \
--username your@email.com \
--password your-passwordpython3 scripts/send_email.py \
--to recipient@example.com \
--subject "Email Subject" \
--content "Email body" \
--smtp-server smtp.gmail.com \
--smtp-port 465 \
--use-ssl \
--username your@email.com \
--password your-passwordpython3 scripts/send_email.py \
--to recipient@example.com \
--subject "Email Subject" \
--content "Email body" \
--smtp-server smtp.gmail.com \
--smtp-port 465 \
--use-ssl \
--username your@email.com \
--password your-password| Provider | SMTP Server | Port | Encryption | Password Type | Username |
|---|---|---|---|---|---|
| Gmail | smtp.gmail.com | 587 | TLS | App Password | Full email |
| Gmail | smtp.gmail.com | 465 | SSL | App Password | Full email |
| Outlook | smtp.office365.com | 587 | TLS | Account Password | Full email |
| QQ Mail | smtp.qq.com | 587 | TLS | Authorization Code | Full email |
| QQ Mail | smtp.qq.com | 465 | SSL | Authorization Code | Full email |
| 163 Mail | smtp.163.com | 465 | SSL | Authorization Code | Full email |
| 163 Mail | smtp.163.com | 994 | SSL | Authorization Code | Full email |
| 126 Mail | smtp.126.com | 465 | SSL | Authorization Code | Full email |
| 126 Mail | smtp.126.com | 25 | SSL | Authorization Code | Full email |
| SendGrid | smtp.sendgrid.net | 587 | TLS | API Key | |
| SendGrid | smtp.sendgrid.net | 465 | SSL | API Key | |
| Mailgun | smtp.mailgun.org | 587 | TLS | SMTP Password | From dashboard |
| 服务商 | SMTP服务器 | 端口 | 加密方式 | 密码类型 | 用户名 |
|---|---|---|---|---|---|
| Gmail | smtp.gmail.com | 587 | TLS | 应用专用密码 | 完整邮箱 |
| Gmail | smtp.gmail.com | 465 | SSL | 应用专用密码 | 完整邮箱 |
| Outlook | smtp.office365.com | 587 | TLS | 账户密码 | 完整邮箱 |
| QQ邮箱 | smtp.qq.com | 587 | TLS | 授权码 | 完整邮箱 |
| QQ邮箱 | smtp.qq.com | 465 | SSL | 授权码 | 完整邮箱 |
| 163邮箱 | smtp.163.com | 465 | SSL | 授权码 | 完整邮箱 |
| 163邮箱 | smtp.163.com | 994 | SSL | 授权码 | 完整邮箱 |
| 126邮箱 | smtp.126.com | 465 | SSL | 授权码 | 完整邮箱 |
| 126邮箱 | smtp.126.com | 25 | SSL | 授权码 | 完整邮箱 |
| SendGrid | smtp.sendgrid.net | 587 | TLS | API密钥 | |
| SendGrid | smtp.sendgrid.net | 465 | SSL | API密钥 | |
| Mailgun | smtp.mailgun.org | 587 | TLS | SMTP密码 | 来自控制台 |
pip install -r requirements.txtmarkdownpip install -r requirements.txtmarkdownsimple-notification.htmlreport-summary.htmlsimple-notification.htmlreport-summary.html