aliyun-mail
بواسطة jixsonwang
Web & Frontend Developmentموجز
A skill to send emails via Aliyun enterprise email service with support for markdown, HTML text, attachments.
الوصف
ما الذي تفعله هذه المهارة
Sends emails through Aliyun enterprise email (smtp.mxhichina.com) via SMTP. Supports plain text, Markdown with code syntax highlighting, and HTML content. Attachments and body-from-file are also supported.
Purpose-built for Aliyun's SMTP service, so it handles the specific port and TLS setup that generic mail tools often misconfigure with that provider.
متى تستخدمها
- Send a code report with syntax-highlighted Python snippets
- Email a weekly PDF report with an HTML summary
- Automate notification emails from a server script
- Send log files as attachments after a scheduled job
- Deliver Markdown-formatted documentation to teammates
مثال على سير العمل
User asks: send a Markdown code report to team@example.com with an attached CSV
- 1
Read SMTP credentials from /root/.openclaw/aliyun-mail-config.json
- 2
Compose Markdown body with code block
- 3
Run aliyun-mail send with --markdown flag and --attachments pointing to the CSV
- 4
Retry up to 3 times on transient SMTP errors
- 5
Confirm delivery or report error details
Email delivered to team@example.com with rendered Markdown and CSV attachment
المتطلبات
- Aliyun enterprise email account
- aliyun-mail-config.json placed in /root/.openclaw/ with SMTP credentials
التثبيت
clawhub install jixsonwang/aliyun-mailشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.