sendmail 的基本用法

[server]$ sendmail youremail@example.com
Subject: Test Send Mail
Hello World
control d (最后按control-d组合键结束)

稍微复杂一点:

[server]$ /usr/sbin/sendmail youremail@example.com
To: differentemail@example.com
From: anyone@example.com
Subject: Test Send Mail
Hello World
control d (最后按control-d组合键结束)

Leave a Reply