||
sendmail 命令
CliffGao
参考:
http://blog.csdn.net/kevinew/article/details/9147969
cat yourEmailContent.txt uuencode yourAttachment.txt |sendmail -t SentEmailName@example.com
yourEmailContent.txt 内部可以指定发件人、主题等:
From: fromEmailName@example.com
To: sentEmailName@example.com
Cc: copyEmailName@example.com
Hi, Cliff,
A test from sendmail
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-4-25 01:45
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社