"Mutt"의 두 판 사이의 차이
ph
| 7번째 줄: | 7번째 줄: | ||
<pre>mutt -e "set content_type=text/html" Email address -s "subject" < test.html</pre> | <pre>mutt -e "set content_type=text/html" Email address -s "subject" < test.html</pre> | ||
[http://stackoverflow.com/a/6805839] | [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|--}}가 필수다. | ||
2017년 6월 7일 (수) 18:40 판
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는 띄어써도 되고 --가 필수다.