来源信息
- 仓库
- olasunkanmi-SE/codebuddy
- 最近来源活动
- 2026年3月8日 03:01
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 141
- 分支
- 44
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- description
- Send emails using mailsend-go CLI
- metadata
- {"displayName":"Email (SMTP)","icon":"mail","category":"communication","version":"1.0.0","dependencies":{"cli":"mailsend","checkCommand":"mailsend -V","install":{"darwin":"[Truncated]","linux":"[Truncated]","windows":"[Truncated]"}},"config":[{"name":"SMTP_HOST","label":"SMTP Host","type":"string","required":false,"placeholder":"smtp.gmail.com"},{"name":"SMTP_PORT","label":"SMTP Port","type":"string","required":false,"placeholder":"587"}],"auth":{"type":"basic"}}
# Email Skill
This skill allows sending emails via SMTP using the `mailsend` tool (mailsend-go).
## Prerequisites
- `mailsend` binary must be in `.codebuddy/bin/mailsend`
- SMTP credentials (host, port, user, password)
## Usage
Use `./.codebuddy/bin/mailsend` to send emails.
### Send a simple email
```bash
./.codebuddy/bin/mailsend -smtp <smtp_host> -port <smtp_port> -auth -user <username> -pass <password> -from <sender_email> -to <recipient_email> -sub "Subject" -body "Body text"
```
### Send with SSL/TLS (Gmail example)
```bash
./.codebuddy/bin/mailsend -smtp smtp.gmail.com -port 587 -starttls -auth -user <username> -pass <password> -from <sender_email> -to <recipient_email> -sub "Subject" -body "Body text"
```
### Notes
- For Gmail, use App Passwords if 2FA is enabled.
- Always ask the user for SMTP credentials before sending if not provided.
在 GitHub 查看