# Discourse 邮件中的 mailto 链接有问题

**URL:** <https://meta.discourse.org/t/mailto-links-in-discourse-emails-are-botched/89253>\
**Category:** Bug\
**Created:** [2018 年6 月 6 日 15:04 UTC](https://meta.discourse.org/t/mailto-links-in-discourse-emails-are-botched/89253 "2018-06-06T15:04:17Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![lkramer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lkramer/32/83897_2.png) [@lkramer](https://meta.discourse.org/u/lkramer)\
发布日期： [2018 年6 月 6 日 15:04 UTC](https://meta.discourse.org/t/mailto-links-in-discourse-emails-are-botched/89253/1 "2018-06-06T15:04:17Z")

</div>

Hello. A user of ours recently pointed this bug out out. It wouldn’t be too big of a deal except that his web host (Lunar Pages) actually flags his Discourse emails as suspicious because of this and perhaps other email/hosts might as well.

Let’s say someone makes a post in Discourse like:

> Hi there. I can help you. Email me at [username@domain.com](mailto:username@domain.com).

Discourse properly turns that into a “mailto” link on the forum itself. But when that post appears in a Discourse email, the underlying html is:  
`<a href="https://www.forumurl.commailto:username@domain.com">username@domain.com</a>`

Instead of:  
`<a href="mailto:username@domain.com">username@domain.com</a>`

Is this happening to others as well?

---

_[View the full topic](https://meta.discourse.org/t/mailto-links-in-discourse-emails-are-botched/89253)._
