Linux sendEmail tool installation use 1, sendEmail home page http://caspian.dotconf.net/menu/Software/SendEmail/wget 2, installation: # tar-zxvf sendEmail-v1.56.tar.gz # cd sendEmail-v1.56 # cp sendEmail/usr/local/bin 3, then give confirmation that it has the execution permission ll/usr/local/bin/sendEmail-rwxr-xr -x 1 root 77882 11-03/usr/local/bin/sendEmail, it is easy to use. run sendEmail directly to display detailed usage. 4. Main Parameters:-f indicates from, and the sender address-t indicates, recipient address-s mail server domain name-u topic-xu User Name (@ previous)-xp user password-m plain text information-o message-file =/root /.. send File Content-a sends attachments (-m,-o,-a can be used at the same time) 5. instance: sendEmail-u test-f $ mail_fm-t $ mail_list-s $ mail_smtp-xu $ mail_user-xp $ mail_pwd-o $ mail_type message-charset = UTF-8 message-file =$ {tmpfile} variable reference: export mail_list = '662102 @ 163.com, 662101@163.com, 662188@163.com, 662111@163.com, 662103@163.com 'export mail_fm = 'zhoh @ 139.com 'export mail_smtp = 'smtp .139.com' export mail_user = 'zhoh' export mail_pwd = 'iandse @ 139com 'export mail_type = 'message-content-type = html'