Skip to main content

email

Send emails via SMTP or sendmail. Use when sending transactional emails or notifications programmatically.

소스 정보

저장소
fworks-tech/agenthood
최근 소스 활동
2026년 9월 16일 21:10
감지된 SKILL.md 언어
영어
스타
3
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
email
description
Send emails via SMTP or sendmail. Use when sending transactional emails or notifications programmatically.
license
MIT
metadata
{"category":"messaging","dependencies":{"cli":"sendmail","checkCommand":"which sendmail || which msmtp","install":{"darwin":"[Truncated]","linux":"[Truncated]"}},"config":[{"name":"SMTP_HOST","label":"SMTP Server","type":"string","required":false},{"name":"SMTP_PORT","label":"SMTP Port","type":"string","required":false}]}
# Email Send emails via command line. ## Using sendmail/msmtp - Send email: `echo "Body" | sendmail recipient@example.com` - With subject: `echo -e "Subject: Hello\n\nBody text" | sendmail -t recipient@example.com` ## Using SMTP with curl ``` curl --url "smtps://${SMTP_HOST}:${SMTP_PORT}" \ --mail-from "sender@example.com" \ --mail-rcpt "recipient@example.com" \ --user "${SMTP_USER}:${SMTP_PASS}" \ --upload-file email.txt ``` ## email.txt format ``` From: Sender <sender@example.com> To: Recipient <recipient@example.com> Subject: Subject line Content-Type: text/plain; charset=utf-8 Body text here. ``` ## Notes - Configure msmtp at `~/.msmtprc` - Never hardcode SMTP credentials in scripts
GitHub에서 보기