In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
How to carry out the installation and use of sendEmail and error troubleshooting, I believe that many inexperienced people do not know what to do, so this paper summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
SendEmail and sendmail are two pieces of software, so don't be confused.
1. Install, go to the official website and install http://caspian.dotconf.net/menu/Software/SendEmail/
SendEmail is easy to install and will not be repeated here.
two。 After installation, the test sendEmail emails the following error:
[root@zabbix02 sendEmail-v1.56] # sendEmail- f from@163.com-t to@qq.com-s smtp.163.com-u "I am zabbix"-o message-content-type=html-o message-charset=utf8-xu from@163.com-xp 123456-m "hello zabbix"
*
Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client
Is deprecated! Please set SSL_verify_mode to SSL_VERIFY_PEER
Together with SSL_ca_file | SSL_ca_path for verification.
If you really don't want to verify the certificate and keep the
Connection open to Man-In-The-Middle attacks please set
SSL_verify_mode explicitly to SSL_VERIFY_NONE in your application.
*
At / usr/local/bin/sendEmail line 1906.
Invalid SSL_version specified at / usr/share/perl5/vendor_perl/IO/Socket/SSL.pm line 415.
On Baidu search, a large number of online hints that this error is, in centos7, the perl version is 5.16, to be downgraded to 5.10. But downgrading this perl has a lot of dependencies.
After repeated search, it is found that there are the following solutions:
A. Uninstall the existing perl version and install the old version (not recommended)
B. Add the parameter-o tls=no option
[root@zabbix02 sendEmail-v1.56] # sendEmail- f username@163.com-t username@qq.com-s smtp.163.com-u "I am zabbix"-o tls=no-o message-content-type=html-o message-charset=utf8-xu username@163.com-xp password-m "hello zabbix"
Feb 16 15:43:04 zabbix02 sendEmail [18761]: Email was sent successfully!
3. There are the following errors in use:
[root@zabbix02 sendEmail-v1.56] # sendEmail- f from@163.com-t to@qq.com-s smtp.163.com-u "I am zabbix"-o message-content-type=html-o message-charset=utf8-o tls=no-xu from@163.com-xp 123456-m "hello zabbix"
Feb 16 15:38:52 zabbix02 sendEmail [18758]: ERROR = > ERROR = > SMTP-AUTH: Authentication to smtp.163.com:25 failed.
Send mailbox username, mailbox address, or incorrect mailbox password.
[root@zabbix02 alertscripts] # sendEmail-f xiebin@weconex.com-t xiebin_1030@qq.com-s smtp.qiye.163.com-u "I am zabbix"-o tls=no-o message-content-type=html-o message-charset=utf8-xu xiebin@weconex.com-xp password-m "hello zabbix"
Feb 16 16:28:52 zabbix02 sendEmail [18867]: Email was sent successfully!
After reading the above, have you mastered how to install and use sendEmail and how to troubleshoot it? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.