首先安装sendEmail:

sudo apt-get install sendemail

然后使用如下命令即可发送(速度远胜于mutt&msmtp组合):

sendEmail -o tls=no -f bigboos@tom.com -t zhanglintc@163.com -s smtp.tom.com -xu bigboos@tom.com -xp YOURPASSWORD -u "Hello from sendEmail" -m "How are you? I'm testing sendEmail from the command line." 

官方链接: http://caspian.dotconf.net/menu/Software/SendEmail/

2015-02-12 01:244