hailinzeng
V2EX  ›  问与答

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

  •  
  •   hailinzeng · Nov 4, 2015 · 2094 views
    This topic created in 3851 days ago, the information mentioned may be changed or developed.

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

    服务上 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 replies    2015-11-05 15:01:08 +08:00
    julyclyde
        1
    julyclyde  
       Nov 5, 2015
    对方接收之后,就不是你的责任和控制范围了。别管了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3319 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 00:36 · PVG 08:36 · LAX 17:36 · JFK 20:36
    ♥ Do have faith in what you're doing.