"Mutt"의 두 판 사이의 차이
ph
(새 문서: == mail through command line == <pre>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...) |
|||
(같은 사용자의 중간 판 2개는 보이지 않습니다) | |||
4번째 줄: | 4번째 줄: | ||
echo "This is the body" | mutt -s "Testing mutt" user@yahoo.com -a /tmp/XDefd.png</pre> | echo "This is the body" | mutt -s "Testing mutt" user@yahoo.com -a /tmp/XDefd.png</pre> | ||
[https://www.garron.me/en/go2linux/send-mail-gmail-mutt.html] | [https://www.garron.me/en/go2linux/send-mail-gmail-mutt.html] | ||
+ | <br>html로 보내려면, | ||
+ | <pre>mutt -e "set content_type=text/html" Email address -s "subject" < test.html</pre> | ||
+ | [http://stackoverflow.com/a/6805839] | ||
+ | |||
+ | ==attachment to multiple recipients== | ||
+ | at {{c|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는 띄어써도 되고 {{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