简体   繁体   English

连接到POP3服务器会出现无法识别的SSL消息,纯文本连接问题

[英]Connecting to POP3 server gives Unrecognized SSL message, plaintext connection issue

Im trying to connect to the POP3 server using the Java API with no SSL. 我试图使用不带SSL的Java API连接到POP3服务器。

I have set following properties; 我设置了以下属性;

mail.pop3.host :- pop.gmx.com
mail.pop3.password:-XXXX
 mail.pop3.user:-XXXX
mail.pop3.port:- 110

But I'm getting the following issue: 但是我遇到了以下问题:

javax.mail.MessagingException: Connect failed;
  nested exception is:
    javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
    at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:148)
    at javax.mail.Service.connect(Service.java:275)
    at javax.mail.Service.connect(Service.java:156)
    at javax.mail.Service.connect(Service.java:176)

What property did I miss? 我想念什么财产?

The page you cite clearly says: 您引用的页面清楚地表明:

POP port: 995 (alternative: 110)
TLS/SSL required: yes (if you use port 110: no)

IOW port 110 is a plaintext port. IOW端口110是纯文本端口。 So use 995 like it says. 因此,请使用995这样说。 Or plaintext. 还是纯文本。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法识别的 SSL 消息,明文连接? 例外 - Unrecognized SSL message, plaintext connection? Exception SSLException:无法识别的SSL消息,AXIS Java应用程序中的纯文本连接错误 - SSLException: Unrecognized SSL message, plaintext connection error in AXIS java application 我无法使用具有自定义SSLContext的Apache FTPSClient通过FTPS连接到FTP服务器-获取“无法识别的SSL消息,纯文本连接?” - I cannot connect to my FTP server by FTPS with Apache FTPSClient with custom SSLContext - getting “Unrecognized SSL message, plaintext connection?” Jmeter 侦听器显示“javax.net.ssl.SSLException:无法识别的 SSL 消息,纯文本连接?” - Jmeter listener showing “ javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?” 随机出现的javax.net.ssl.SSLException:无法识别的SSL消息,明文连接? - Random occurence of javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? 无法发送邮件 - javax.net.ssl.SSLException:无法识别的 SSL 消息,纯文本连接? - Unable to Send Mail - javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? SSLException:无法识别的 SSL 消息,明文连接? 通过代理在 Camel 中发送 https POST 时出错 - SSLException: Unrecognized SSL message, plaintext connection? error while sending https POST in Camel via PROXY ftp4j:client.login返回无法识别的SSL消息,纯文本连接? - ftp4j: client.login returns Unrecognized SSL message, plaintext connection? 获取源网页的源代码,javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? - get source web page's source code, javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? spotify/dockerfile-maven 插件:无法构建映像:javax.net.ssl.SSLException:无法识别的 SSL 消息,纯文本连接 - spotify/dockerfile-maven plugin: Could not build image: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM