猿问

503 Error: need EHLO and AUTH first !??

name---------------------MjgxODI3Mzc0
DEBUG: setDebug: JavaMail version 1.3.1
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host "smtp.qq.com", port 25

220 esmtp4.qq.com Esmtp QQ Mail Server
DEBUG SMTP: connected to host "smtp.qq.com", port: 25

EHLO liujun-PC
250-esmtp4.qq.com
250-PIPELINING
250-SIZE 52428800
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN
250-MAILCOMPRESS
250 8BITMIME
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG SMTP: Found extension "SIZE", arg "52428800"
DEBUG SMTP: Found extension "AUTH", arg "LOGIN PLAIN"
DEBUG SMTP: Found extension "AUTH=LOGIN", arg ""
DEBUG SMTP: Found extension "MAILCOMPRESS", arg ""
DEBUG SMTP: Found extension "8BITMIME", arg ""
DEBUG SMTP: use8bit false
MAIL FROM:<281827374@qq.com>
503 Error: need EHLO and AUTH first !
javax.mail.MessagingException: 503 Error: need EHLO and AUTH first !

at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1020)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:716)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:388)
at study.MailHandle.Send(MailHandle.java:68)
at study.MutliThread.run(MutliThread.java:18)
at study.MutliThread.main(MutliThread.java:27)

慕的地6264312
浏览 164回答 2
2回答

侃侃无极

#include<iostream>#include<string>#include<fstream>#include<sstream>using namespace std;class Tair //通过定义一个类来定义数据录入的函数&nbsp;{&nbsp;char flight[20]; char data[20];char start[20];char finish[20];char stime[20];char ftime[20];int price;

梦里花落0921

选上"我的服务器要求身份验证",不选"使用安全密码验证登陆"
随时随地看视频慕课网APP

相关分类

Java
我要回答