V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
hailinzeng
V2EX  ›  问与答

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

  •  
  •   hailinzeng · 2015-11-04 15:57:54 +08:00 · 1794 次点击
    这是一个创建于 3308 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    服务上 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

    有没有遇到过的?

    1 条回复    2015-11-05 15:01:08 +08:00
    julyclyde
        1
    julyclyde  
       2015-11-05 15:01:08 +08:00
    对方接收之后,就不是你的责任和控制范围了。别管了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1246 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 23:48 · PVG 07:48 · LAX 15:48 · JFK 18:48
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.