技能标识:smtp-sender
A skill to send emails with support for markdown, HTML text, and attachments, leveraging existing SMTP configuration in `{skill~}/smtp-config.json`. Includes retry logic and logging.
用于发送电子邮件的自定义技能,支持HTML/Markdown转换、附件和重试处理等高级选项。集成了现有配置,确保安全可靠的操作。
示例:
json
{
server: smtp.exmail.qq.com,
port: 465,
username: your-email@example.com,
password: your-password,
emailFrom: your-email@example.com,
useTLS: true
}
确保文件权限已设置安全(chmod 600)。
发送带附件的HTML邮件:
bash
python3 ~/.openclaw/workspace/skills/smtp-sender/email_sender.py \
--to recipient@example.com \
--subject Weekly Report \
--body Important updates inside. See attached. \
--html \
--attachments path/to/file.pdf
只需设置一次SMTP服务,即可将电子邮件集成到您的工作流程中!
以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:
帮我安装 SkillHub 和 smtp-sender-1776290009 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 smtp-sender-1776290009 技能
skillhub install smtp-sender-1776290009
文件大小: 2.9 KB | 发布时间: 2026-4-16 17:22