1.安裝sendEmail
2.發送 用你的郵箱aaa
@qq.com 發送郵件到
bbb@qq.com sendEmail -s smtp.qq.com -f aaa
@qq.com -t bbb
@qq.com -u hello -m "測試數據" -a /test/databases/tm.sh -xu aaa -xp xxxx -o tls=auto
-s smtp.qq.com 指定服務器域名,郵件發送一般通過SMTP協議實現,其域名一般為smtp.xx.com,qq郵箱服務器smtp.qq.com
-f
aaa@qq.com 指定發送郵箱地址
-t
bbb@qq.com 指定目的郵箱地址
-u hello 郵件標題
-m "XXX" 郵件內容,發送文件 mail.txt 換用-o message-file=mail.txt
-xu aaa 指定郵箱用戶名
-xp password 指定發送郵箱的密碼
-o tls=auto 加密方式,在none,tls,ssl自動選擇
郵件中粘貼福建 -a 文件1 | 文件2
posted on 2012-03-19 21:24
kxbin 閱讀(2232)
評論(1) 編輯 收藏 所屬分類:
Linux