javax.mail.authenticationfailedexception:530 error:a secure connection is requiered

Source: Internet
Author: User
Tags imap


6:sina no mistakes, but QQ has errors. Solution Answer: Will smtp.qq.com personal mailbox love to smtp.exmail.qq.com Enterprise mailbox, recommend the host name of the Enterprise mail phase
javax.mail.authenticationfailedexception:530 error:a Secure connection is requiered (such as SSL). More information at http://service.mail.qq.com/cgi-bin/help?id=28


At Com.sun.mail.smtp.smtptransport$authenticator.authenticate (smtptransport.java:809)
At Com.sun.mail.smtp.SMTPTransport.authenticate (smtptransport.java:752)
At Com.sun.mail.smtp.SMTPTransport.protocolConnect (smtptransport.java:669)
At Javax.mail.Service.connect (service.java:317)
At Javax.mail.Service.connect (service.java:176)
At Javax.mail.Service.connect (service.java:125)
At Javax.mail.Transport.send0 (transport.java:194)
At Javax.mail.Transport.send (transport.java:146)
At Com.yd.email.Mail2.main (mail2.java:44)
Answer: Change smtp.qq.com to Smtp.exmail.qq.com
A Secure connection is requiered (such as SSL). More information at http://service.mail.qq.com/cgi-bin/help?id=28


The above answer has the question, found the QQ official document
Http://service.exmail.qq.com/cgi-bin/help?id=28&no=1000585&subtype=1


If your e-mail client supports SSL, you can choose to use SSL in the settings.

Common Configuration parameters:
(We already support these protocols by default, and users do not have to manually open these servers and ports themselves)
POP3/SMTP protocol
Incoming mail server: pop.exmail.qq.com, using SSL, port number 995
Outgoing mail server: smtp.exmail.qq.com, using SSL, port number 465
Overseas users can use the following servers
Incoming mail server: hwpop.exmail.qq.com, using SSL, port number 995
Outgoing mail server: hwsmtp.exmail.qq.com, using SSL, port number 465

IMAP protocol
Incoming mail server: imap.exmail.qq.com, using SSL, port number 993
Outgoing mail server: smtp.exmail.qq.com, using SSL, port number 465
Overseas users can use the following servers
Incoming mail server: hwimap.exmail.qq.com, using SSL, port number 993
Outgoing mail server: hwsmtp.exmail.qq.com, using SSL, port number 465

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.