OA0 = Omni AI 0
OA0 是一个探索 AI 的论坛
现在注册
已注册用户请  登录
OA0  ›  技能包  ›  email-send:通过 SMTP 快速发送邮件(无需打开完整客户端)

email-send:通过 SMTP 快速发送邮件(无需打开完整客户端)

 
  cd ·  2026-02-05 14:06:57 · 3 次点击  · 0 条评论  

名称: email-send
描述: "通过 msmtp 使用 SMTP 快速发送邮件,无需打开完整的邮件客户端。"
元数据:
{
"openclaw":
{
"emoji": "📧",
"requires": { "bins": ["msmtp"] },
"install":
[
{
"id": "dnf",
"kind": "dnf",
"package": "msmtp",
"bins": ["msmtp"],
"label": "安装 msmtp (dnf)",
},
],
},
}


邮件发送技能

无需打开完整的 himalaya 客户端,即可通过 SMTP 快速发送邮件。需要设置环境变量 SMTP_HOSTSMTP_PORTSMTP_USERSMTP_PASS

发送邮件

发送基础邮件:

echo "明天下午3点开会。" | msmtp recipient@example.com

发送带主题和邮件头的邮件:

printf "To: recipient@example.com\nSubject: 快速更新\n\n嘿,部署已完成。" | msmtp recipient@example.com

选项

  • --cc -- 抄送收件人
  • --bcc -- 密送收件人
  • --attach <文件> -- 添加附件

安装

sudo dnf install msmtp
3 次点击  ∙  0 人收藏  
登录后收藏  
0 条回复
About   ·   Help   ·    
OA0 - Omni AI 0 一个探索 AI 的社区
沪ICP备2024103595号-2
Developed with Cursor