search

Home  >  Q&A  >  body text

java - "smtp.exmail.qq.com" port 465, isSSL false

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功能
伊谢尔伦伊谢尔伦2770 days ago1026

reply all(2)I'll reply

  • 怪我咯

    怪我咯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.

    reply
    0
  • 巴扎黑

    巴扎黑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~~

    reply
    0
  • Cancelreply