mutt 是linux下强大邮件客户端软件
-s 主题
-a 附件
-c 抄送,多个抄送是多个-c
如下:
多个抄送写邮件格式:
cat /path/contentfile | mutt -s "this is subject" -a /path/xx.zip abc@local.domain -c bb@local.domain -c ccc@local.domain -c ....
发多个email,格式:
cat /path/contentfile | mutt -s "this is subject" -a /path/xx.zip abc@local.domain bbb@local.domain ccc@local.domain ....
没有正文的话,直接echo 出来
echo "This is content" | mutt -s "this is subject" -a /path/xx.zip(附件中内容) xx@local.domain -c bbb@local.domain ccc@local.domain (多个抄送其他人写法
空格 + 邮件地址)
有正文写法:
echo /path/contentfile | mutt -s "this is subject" -a /path/xx.zip(附件中内容) xx@local.domain -c bbb@local.domain ccc@local.domain
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26855487/viewspace-742015/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26855487/viewspace-742015/