实时警报通知:微信告警通知的重要性解析
755
2023-02-15
如何使用sendEmail发送邮件
下载安装sendEmail
发送邮件
命令说明:
发送成功之后会有如下提示:Jul 29 15:02:53 e10074 sendEmail[26347]: Email was sent successfully!
sendEmail使用命令帮助
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | [root@li229-122scripts]# sendEmail --help sendEmail-1.56by Brandon Zehm<caspian@dotconf.net> Synopsis:sendEmail-fADDRESS[options] Required: -fADDRESS from(sender)email address *At least one recipient required via-t,-cc,or-bcc *Message body required via-m,STDIN,or-omessage-file=FILE Common: -tADDRESS[ADDR...]toemail address(es) -uSUBJECT message subject -mMESSAGE message body -sSERVER[:PORT]smtp mail relay,defaultislocalhost:25 Optional: -aFILE[FILE...]file attachment(s) -cc ADDRESS[ADDR...]cc email address(es) -bcc ADDRESS[ADDR...]bcc email address(es) -xu USERNAME username forSMTP authentication -xp PASSWORD password forSMTP authentication Paranormal: -bBINDADDR[:PORT]local host bind address -lLOGFILE log tothe specified file -vverbosity,usemultiple times forgreater effect -qbe quiet(i.e.no STDOUT output) -oNAME=VALUE advanced options,fordetails try:--help misc -omessage-content-type=<auto|text|html> -omessage-file=FILE-omessage-format=raw -omessage-header=HEADER-omessage-charset=CHARSET -oreply-to=ADDRESS-otimeout=SECONDS -ousername=USERNAME-opassword=PASSWORD -otls=<auto|yes|no>-ofqdn=FQDN Help: --help the helpful overview you're reading now --help addressing explain addressing andrelated options --help message explain message body input andrelated options --help networking explain-s,-b,etc --help output explain logging andother output options --help misc explain-ooptions,TLS,SMTP auth,andmore |
sendEmail发送邮件内容到此结束,如有什么不明白的,请留言.
发表评论
暂时没有评论,来抢沙发吧~