DEBUG: setDebug: JavaMail version 1.5.5
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "smtp.exmail.qq.com", port 465, isSSL false
发邮件一直报这个错,就是用的smtp.exmail.qq.com和465得嘛,怎么解决哦!
发送QQ已经开启POP3和SMTP功能
怪我咯2017-04-17 17:14:53
The port numbers of the oxmail email server are as follows:
1. POP3/SMTP protocol
Incoming email server: pop.exmail.qq.com (port 110), using SSL, port number 995
Outgoing email server: smtp.exmail.qq. com (port 25), using SSL, port number 465 or 587
2. IMAP protocol
Incoming mail server: imap.exmail.qq.com (port 143), using SSL, port number 993
Sending mail server: smtp.exmail .qq.com (port 25), using SSL, port number 465 or 587
Note: The general configuration parameters of QQ corporate mailboxes have generally been set by default. There is no need to change them manually. If you cannot send and receive emails normally, then Check whether the configuration parameters are correct.
巴扎黑2017-04-17 17:14:53
The above code is not complete. If anyone needs it, I can send the source code! Forget it if you don’t have it~~