name---------------------MjgxODI3Mzc0DEBUG: setDebug: JavaMail version 1.3.1DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]DEBUG SMTP: useEhlo true, useAuth falseDEBUG SMTP: trying to connect to host "smtp.qq.com", port 25220 esmtp4.qq.com Esmtp QQ Mail ServerDEBUG SMTP: connected to host "smtp.qq.com", port: 25EHLO liujun-PC250-esmtp4.qq.com250-PIPELINING250-SIZE 52428800250-AUTH LOGIN PLAIN250-AUTH=LOGIN250-MAILCOMPRESS250 8BITMIMEDEBUG 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 falseMAIL 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)
2 回答
侃侃无极
TA贡献2051条经验 获得超10个赞
#include<iostream>
#include<string>
#include<fstream>
#include<sstream>
using namespace std;
class Tair //通过定义一个类来定义数据录入的函数
{
char flight[20]; char data[20];char start[20];
char finish[20];char stime[20];char ftime[20];int price;
添加回答
举报
0/150
提交
取消