# send email * help ```shell $send-mail --help Usage: send-mail [OPTIONS] --subject --body Options: -s, --smtp-server smtp server host -u, --username smtp username -p, --password smtp password -f, --from from [name:email] (name:xxx@xxx.com) -t, --to to [name:email|name:email|..] (name1:xxx1@xxx.com|name2:xxx2@xxx.com|...) --subject --body body --body-html html body -a, --attachment-file attachment file path -h, --help Print help ``` * env ```shell export SMTP_SERVER=smtp.xxx.xx export MAIL_USERNAME=xxxxxx export MAIL_PASSWORD=xxxxxx export MAIL_FROM=name:xxx@xxx.com export MAIL_TO=name1:xxx1@xxx.com|name2:xxx2@xxx.com|... send-mail --subject "subject" --body "body" --body-html "

body html

" --attachment-file attachment-file ```