Recently Naigos modified contact, need to send test mail manually Centos (other versions can refer to man mail, man mailx for more information)
Create a message content file Mail.txt
[email protected] ~]# Touch mail.txt
[Email protected] ~]# VI mail.txt
Send mail after editing content
Mailx-s ' Test a Simple mail ' [email protected] < Mail.txt
[email protected] to accept email address
If multiple addresses can be separated by commas
Specify Sender Address:
Mailx-r $fromaddr-S ...
Mailx-s ' test '-c ' [email protected],[email protected] ' [email protected] < Mail.txt
-C send address for CC Mail
Mailx-s ' ttttt '-B ' [email protected] ' [email protected],[email protected] < Mail.txt
-B The specified email address is BCC address the recipient is not visible
Messages that send attachments are preceded by the above command
Uuencode Xxx.txt Xxx.txt |
You can send mail attachments xxx.txt
If you find a hint, no uuencode.
You can choose to download from the address
Http://rpmfind.net/linux/rpm2html/search.php?query=uuencode&submit=Search+...&system=&arch
Install after download
This article is from the "Useful Notes" blog, so be sure to keep this source http://qiuyt.blog.51cto.com/1229789/1529626