2011-08-02 33 views
0

我在寫一個使用java發送電子郵件的程序。我注意到,java程序成功執行,但電子郵件沒有到達預期的收件人。我使用hMailServer作爲我的SMTP服務器。配置hmailServer的問題

服務器在端口25上運行。我已確認防火牆允許此端口。

我在hMailServer上運行了一個診斷測試,並得到了以下報告。

enter image description here

而且,我發現,電子郵件,得到了在服務器排隊。

Return-Path: <> 
Message-ID: <[email protected]> 
Date: Tue, 2 Aug 2011 16:50:04 +0530 
From: [email protected] 
To: [email protected] 
Subject: Undeliverable: Hi 
Content-Transfer-Encoding: quoted-printable 
    X-hMailServer-LoopCount: 1 

Your message did not reach some or all of the intended recipients. 

    Sent: Tue, 2 Aug 2011 16:50:01 +0530 (IST) 
    Subject: Hi 

    The following recipient(s) could not be reached: 

     [email protected] 
     Error Type: SMTP 
     Error Description: No mail servers appear to exists for the 
     recipients address.Additional information: Please check 
     that you have not misspelled the recipients email address. 

可能是什麼問題。你能幫助解決這個問題嗎?

+0

你能夠使用outlook連接嗎? –

+0

我們該怎麼做? – user2434

回答

0

您正在使用域名test.com,你希望你的域名是本地域名。嘗試類似test.local