0

私はJavaを使って電子メールを送るプログラムを書いています。Javaプログラムは正常に実行されますが、電子メールが目的の受信者に届いていないことに気付きました。SMTPサーバーとしてhMailServerを使用しています。

サーバーはポート25で実行されます。ファイアウォールがこのポートを許可していることを確認しました。

hMailServerで診断テストを実行したところ、次のレポートが表示されました。

ここに画像の説明を入力してください

また、メールがサーバーのキューに入れられていることがわかりました。

 Return-Path: <>
Message-ID: <C49CD35F-1204-4E7A-B520-18371344CC5C@localhost>
Date: Tue, 2 Aug 2011 16:50:04 +0530
From: mailer-daemon@localhost
 To: user2@test.com
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:

      myname@gmail.com
      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.

何が問題なのか。この問題の修正を手伝ってもらえますか?

4

1 に答える 1

0

test.comドメインをローカルにしたいドメインを使用しています。次のようなものを試してくださいtest.local

于 2014-04-25T14:16:18.563 に答える