Java SMTP 发信收不到, 日志显示服务器接收了

2015-11-04 15:57:54 +08:00
 hailinzeng

在本地一切正常, 服务器上收不到邮件.

服务上 DEBUG 日志:

DEBUG: setDebug: JavaMail version 1.4ea
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "smtp.sina.com", port 587, isSSL false
220 smtp-5-123.smtpsmail.fmail.xd.sinanode.com ESMTP
DEBUG SMTP: connected to host "smtp.sina.com", port: 587

EHLO i-vf2uou0g
250-smtp-5-123.smtpsmail.fmail.xd.sinanode.com
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-STARTTLS
250 8BITMIME
DEBUG SMTP: Found extension "AUTH", arg "LOGIN PLAIN"
DEBUG SMTP: Found extension "AUTH=LOGIN", arg "PLAIN"
DEBUG SMTP: Found extension "STARTTLS", arg ""
DEBUG SMTP: Found extension "8BITMIME", arg ""
STARTTLS
220 ready for tls
EHLO i-vf2uou0g
250-smtp-5-123.smtpsmail.fmail.xd.sinanode.com
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-STARTTLS
250 8BITMIME
DEBUG SMTP: Found extension "AUTH", arg "LOGIN PLAIN"
DEBUG SMTP: Found extension "AUTH=LOGIN", arg "PLAIN"
DEBUG SMTP: Found extension "STARTTLS", arg ""
DEBUG SMTP: Found extension "8BITMIME", arg ""
DEBUG SMTP: Attempt to authenticate
AUTH LOGIN
334 *****
a*****
334 ****
a*****
235 OK Authenticated
DEBUG SMTP: use8bit false
MAIL FROM:<***@sina.com>
250 ok
RCPT TO:<
@qq.com>
250 ok
DEBUG SMTP: Verified Addresses
DEBUG SMTP: *
@qq.com
DATA
354 End data with <CR><LF>.<CR><LF>
From: **
@sina.com
To: **
@qq.com
Message-ID: <274387061.21446622931074.JavaMail.
*>
Subject: =?UTF-8
*******
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

***<a ************* a>
.
250 ok queue id 7677872621468
QUIT
221 smtp-5-123.smtpsmail.fmail.xd.sinanode.com

有没有遇到过的?

1793 次点击
所在节点    问与答
1 条回复
julyclyde
2015-11-05 15:01:08 +08:00
对方接收之后,就不是你的责任和控制范围了。别管了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/233591

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX