HTML 电子邮件中的链接在 Hotmail 中不起作用

发布于 2024-09-16 11:50:11 字数 1175 浏览 4 评论 0原文

我向 hotmail 用户发送自动邮件。 (感谢您的注册bla bla) 因为纯文本看起来不够吸引人,所以我使用 HTML 和图像。这些图像驻留在公共网络服务器上。

作为 SMTP 服务器,我使用 IIS 7.5 (windows 2008 R2) 的 SMTP 部分。我在 DNS 中设置了 SPF 记录。我还阅读了 http://tinisles.blogspot。 com/2009/09/sending-dkim-email-from-c.html 并发现如果没有外部商业组件,则无法正确使用 SMTP 服务和 DKIM 签名发送邮件。所以我还没有这样的东西。

现在这就是我的背景,问题是: 我的 HTML 中有这样的内容:

<a href="http://www.mydomain.com">click here</a>

但是当用户收到这样的电子邮件并在 hotmail 中查看它时。 (chrome、IE、safari 等),当他们将鼠标悬停在链接上时,他们会看到该 url 是 http://www.mydomain.com,但当他们点击它时。它重定向到:

http://www.mydomain.com/mail/InboxLight.aspx/404.aspx?msg=The%20file%20'/mail/InboxLight.aspx'%20does%20not%20exist

我做错了什么?是 SMTP/IIS 服务器设置吗?当我发送邮件时,我是否忘记了 Asp.Net C# 代码中的某些内容?我是否忘记了 DNS 或 HTML 标记中的某些内容?

当我在 Outlook 2010 中收到邮件时,该链接工作正常,其中该域也被添加到安全列表中。

编辑如果它似乎都与hotmail中的反垃圾邮件内容有关。我是否应该考虑购买:http://www.youtube.com/watch?v=98oc_5bjjkc< /a>

I send automated mails to hotmail users. (thank you for your registration bla bla)
Because plain text doesn't look attractive enough, I use HTML with images. The images reside on a public webserver.

As SMTP server I use the SMTP part of IIS 7.5 (windows 2008 R2). I have an SPF record setup in the DNS. I have also read http://tinisles.blogspot.com/2009/09/sending-dkim-email-from-c.html and found out that sending mail with the SMTP service and a DKIM signature cannot be done properly without an external commercial component. So I do not have such thing (yet).

Now that is all about my background and here is the problem:
I have this in my HTML:

<a href="http://www.mydomain.com">click here</a>

But when users get am e-mail like that and view it in hotmail. (chrome, IE, safari etc.) and when they hover the link they will see that the url is http://www.mydomain.com but when they click on it. It redirects to:

http://www.mydomain.com/mail/InboxLight.aspx/404.aspx?msg=The%20file%20'/mail/InboxLight.aspx'%20does%20not%20exist

what am I doing wrong? Is it an SMTP/IIS server setting? Did I forget something in my Asp.Net C# code when I have send the mail? Did I forget something in the DNS or HTML markup?

The link works perfectly when I receive the mail in my Outlook 2010 where the domain is also added to the safelist.

EDIT If it seems to be all related to the antispam stuff in hotmail. Should I consider to buy: http://www.youtube.com/watch?v=98oc_5bjjkc

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

白首有我共你 2024-09-23 11:50:11

这可能是因为链接中显示的文本(“单击此处”)没有告诉用户单击时他们要去哪里。请访问 hotmail postmaster 网站了解更多信息,特别是故障排除页面。

It could be because the text displayed in the link ("click here") does not tell the user where they are going when they click. Take a look at the hotmail postmaster site for more info, in particular, the troubleshooting page.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文