Unix

mutt 로 첨부파일이 있는 메시지 보내기

ForceCore 2009. 4. 8. 16:27
PHP script나 perl script 하여튼 유닉스 시스템에서 매우 유용함.

http://www.shelldorado.com/articles/mailattachments.html
mutt -s "subject" -a "filename" receiver@xxx.ac.kr < content.txt

이렇게 하면 mutt가 아무 입력도 받지 않고, 지정된 대로 메일을 보낼 것이다.