simple mail example for smtp debug

vim /etc/mail.rc

head /etc/rc.local | mail -s "test_email" pyz_sub1@mailtest.com

原文地址:https://www.cnblogs.com/eiguleo/p/5124051.html