zoukankan      html  css  js  c++  java
  • Timeout while reading from smtp.exmail.qq.com:465 There was no response after 60 seconds 解决了。

    转自:https://www.jianshu.com/p/122c43feee90

    问题1:
    [root@java bin]#/usr/bin/sendemail -o tls=yes -s "smtp.exmail.qq.com:465" -f "发送邮箱" -t "接收邮箱" -xu "发送邮箱" -xp "发送邮箱密码" -u "邮件标题" -m "邮件正文"
    返回:ERROR => Timeout while reading from smtp.exmail.qq.com:465 There was no response after 60 seconds.
    解决方法:将465换成587,即为/usr/bin/sendemail -o tls=yes -s "smtp.exmail.qq.com:587" -f "发送邮箱" -t "接收邮箱" -xu "发送邮箱" -xp "发送邮箱密码" -u "邮件标题" -m "邮件正文"

    问题2:
    [root@java bin]#/usr/bin/sendemail -o tls=yes -s "smtp.exmail.qq.com:587" -f "发送邮箱" -t "接收邮箱" -xu "发送邮箱" -xp "发送邮箱密码" -u "邮件标题" -m "邮件正文"
    返回:invalid SSL_version specified at /usr/share/perl5/vendor_perl/IO/Socket/SSL.pm line 444.
    解决方法:vi /usr/bin/sendemail
    第 1906 行,将 'SSLv3 TLSv1' 修改为 'SSLv23:!SSLv2'

  • 相关阅读:
    qt install (1)
    learning rewind func
    learning strrchr func
    learning memchr func
    git lfs setpu(4)
    大端与小端
    git branch/meger step(3)
    git log/show/HEAD step(2)
    调用外部EXE文件
    获取计算机上的所有进程
  • 原文地址:https://www.cnblogs.com/linzepeng/p/12581520.html
Copyright © 2011-2022 走看看