← Back to Communication
Communication by @xejrax

email-send

Send a quick email via SMTP using `msmtp` without opening a full mail

0
Source Code

Email Send Skill

Send a quick email via SMTP without opening the full himalaya client. Requires SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASS env vars.

Sending Email

Send a basic email:

echo "Meeting at 3pm tomorrow." | msmtp [email protected]

Send with subject and headers:

printf "To: [email protected]\nSubject: Quick update\n\nHey, the deploy is done." | msmtp [email protected]

Options

  • --cc -- carbon copy recipients
  • --bcc -- blind carbon copy recipients
  • --attach <file> -- attach a file

Install

sudo dnf install msmtp