"Mutt"의 두 판 사이의 차이
ph
17번째 줄: | 17번째 줄: | ||
at the end of command line options. | at the end of command line options. | ||
addr1 addr2는 띄어써도 되고 {{c|--}}가 필수다. | addr1 addr2는 띄어써도 되고 {{c|--}}가 필수다. | ||
+ | |||
+ | https://www.cyberciti.biz/tips/sending-mail-with-attachment.html |
2017년 6월 7일 (수) 18:41 기준 최신판
mail through command line
mutt -s "Test from mutt" user@yahoo.com < /tmp/message.txt mutt -s "Test from mutt" user@yahoo.com < /tmp/message.txt -a /tmp/file.jpg echo "This is the body" | mutt -s "Testing mutt" user@yahoo.com -a /tmp/XDefd.png
[1]
html로 보내려면,
mutt -e "set content_type=text/html" Email address -s "subject" < test.html
attachment to multiple recipients
at mutt manual,
-a file [...] Attach a file to your message using MIME. When attaching single or multiple files, separating filenames and recipient addresses with "--" is mandatory, e.g. mutt -a image.jpg -- addr1 or mutt -a img.jpg *.png -- addr1 addr2. The -a option must be placed at the end of command line options.
addr1 addr2는 띄어써도 되고 --가 필수다.
https://www.cyberciti.biz/tips/sending-mail-with-attachment.html