为了账号安全,请及时绑定邮箱和手机立即绑定

503 Error: need EHLO and AUTH first !??

503 Error: need EHLO and AUTH first !??

慕的地6264312 2023-04-01 18:10:07
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;

查看完整回答
反对 回复 2023-04-03
?
梦里花落0921

TA贡献1772条经验 获得超5个赞

选上"我的服务器要求身份验证",不选"使用安全密码验证登陆"

查看完整回答
反对 回复 2023-04-03
  • 2 回答
  • 0 关注
  • 163 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信