A skill to send emails with support for markdown, HTML text, and attachments, leveraging existing SMTP configuration in `/home/bb/.openclaw/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
custom-smtp-sender send \
--to recipient@example.com \
--subject Weekly Report \
--body Important updates inside. See attached. \
--html \
--attachments path/to/file.pdf
只需设置一次SMTP服务,即可将电子邮件集成到您的工作流程中!
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 custom-smtp-sender-1776357867 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 custom-smtp-sender-1776357867 技能
skillhub install custom-smtp-sender-1776357867
文件大小: 2.65 KB | 发布时间: 2026-4-17 16:27