TopRank Skills

Home / Claw Skills / Email / Simple Smtp Mail
Official OpenClaw rules 36%

Simple Smtp Mail

Simple SMTP Mail

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Simple Smtp Mail 技能。 若已安装,则直接安装 Simple Smtp Mail 技能。

Overview

Skill Key
hitygx/simple-smtp-mail
Author
hitygx
Source Repo
openclaw/skills
Version
-
Source Path
skills/hitygx/simple-smtp-mail
Latest Commit SHA
14c03aed216b9af7823067be9ad6a71d547cb451

Extracted Content

SKILL.md excerpt

# Simple SMTP Mail

Send emails via SMTP using `msmtp` command-line tool.

## Configuration

Create a configuration file at `~/.msmtp/config` with the following format:

```
account default
host <SMTP_SERVER>
port <PORT>
tls on
tls_starttls off
auth on
user <EMAIL_ADDRESS>
password <PASSWORD>
from <EMAIL_ADDRESS>
```

### Common SMTP Settings

**Gmail:**
- SMTP Server: `smtp.gmail.com`
- Port: `465` (SSL) or `587` (TLS)
- Note: Use App Password, not your regular password

**QQ Mail:**
- SMTP Server: `smtp.qq.com`
- Port: `465`

**Outlook/Hotmail:**
- SMTP Server: `smtp.office365.com`
- Port: `587`

**163.com:**
- SMTP Server: `smtp.163.com`
- Port: `465`

## Installation

### 1. Install msmtp

**macOS:**
```bash
brew install msmtp
```

**Linux (Debian/Ubuntu):**
```bash
sudo apt install msmtp
```

**Linux (Fedora/RHEL):**
```bash
sudo dnf install msmtp
```

### 2. Configure SMTP

Edit `~/.msmtp/config`:
```bash
nano ~/.msmtp/config
```

### 3. Set Permissions
```bash
chmod 600 ~/.msmtp/config
```

## Sending Email

### Basic Email
```bash
echo "Body text" | msmtp recipient@example.com
```

### With Subject
```bash
echo -e "Subject: Your Subject\n\nBody text" | msmtp recipient@example.com
```

### With Subject and From Header
```bash
echo -e "Subject: Your Subject\nFrom: your@email.com\n\nBody text" | msmtp recipient@example.com
```

### HTML Content
```bash
echo -e "Subject: Your Subject\nContent-Type: text/html; charset=UTF-8\n\n<html>...</html>" | msmtp recipient@example.com
```

## Testing

Check if SMTP server is reachable:
```bash
msmtp --file=~/.msmtp/config --serverinfo
```

## Troubleshooting

- **"Account not found"**: Check your config file path with `--file` flag
- **"Authentication failed"**: Verify username and password (or App Password)
- **"Connection refused"**: Check port number and firewall settings
- **"TLS certificate error"**: Try `tls_certcheck off` in config (not recommended for production)

Related Claw Skills

rxhxm

sixtyfour-skill

★ 1

Agent Skill (SKILL.md) for Sixtyfour AI — People & company intelligence API. Enrich leads, find emails/phones, qualify prospects, search people. For Claude Code, Codex, OpenClaw, Cursor.

chadholdorf

jetlag-planner

★ 0

Scans your Google Calendar for upcoming flights and writes a personalized circadian adjustment plan back to your calendar. Trigger with phrases like "check my flights", "run jetlag planner", "plan my trip adjustment", or "am I ready for my upcoming flight".

chang-tong

139mail

★ 0

139邮箱邮件收发 Skill - 支持 IMAP/SMTP 协议,兼容139/QQ/163/Gmail等主流邮箱 功能: 1. 发送邮件(SMTP) 2. 接收邮件(IMAP) 3. 查看收件箱列表 4. 查看未读邮件 当用户提到 "发邮件"、"收邮件"、"查看邮件"、"邮箱" 或 "email" 时激活此 skill。

chao-nj-cn

qq-email

★ 0

Send and receive emails via QQ Mail SMTP/IMAP. Use when: user wants to send/receive emails, check inbox, read messages, or share documents via email. Requires QQ email authorization code configured in TOOLS.md.

cettoana

gog-restricted

★ 0

Google Workspace CLI for Gmail, Calendar, and Auth (restricted via security wrapper).

byungkyu

monday

★ 0

Monday.com API integration with managed OAuth. Manage boards, items, columns, groups, and workspaces using GraphQL. Use this skill when users want to create, update, or query Monday.com boards and items, manage tasks, or automate workflows. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.