【问题标题】:Problem with configuring hmailServer配置hmailServer的问题
【发布时间】:2011-08-02 12:59:57
【问题描述】:

我正在编写一个使用 java 发送电子邮件的程序。我注意到,java 程序成功执行,但电子邮件没有到达预期的收件人。我使用 hMailServer 作为我的 SMTP 服务器。

服务器在 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.

可能是什么问题。你能帮忙解决这个问题吗?

【问题讨论】:

  • 你能用outlook连接吗?

标签: java smtp hmail-server


【解决方案1】:

您正在使用域test.com 您希望您的域是本地的。尝试类似test.local

【讨论】:

    猜你喜欢
    • 2011-10-03
    • 1970-01-01
    • 2017-09-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-03-25
    • 2012-12-04
    • 2019-04-01
    相关资源
    最近更新 更多