在命令行中使用sendmail 發送郵件

sendmail -t <<EOF


From: Mail testing <[email protected]>        //從哪裏發出


To: freemouse

.test

@gmail.com                         //發給誰


Cc: [email protected]                      //抄送給誰


Bcc: [email protected]                //暗送給誰


Subject: 郵件測試                                    //標題


———————————-                              //內容


測試郵件內容


———————————


EOF

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章