在命令行中使用sendmail 发送邮件
sendmail -t <<EOF From: Mail testing <[email protected]> To: [email protected] Cc: [email protected] Bcc: [email protected] Subject: 邮件测试 ———————————- 测试邮件内容 ——————————— EOF
sendmail -t <<EOF From: Mail testing <[email protected]> To: [email protected] Cc: [email protected] Bcc: [email protected] Subject: 邮件测试 ———————————- 测试邮件内容 ——————————— EOF