# Emails forwarded with Apple Mail & iPhone Mail are not detected as forwards

**URL:** https://meta.discourse.org/t/emails-forwarded-with-apple-mail-iphone-mail-are-not-detected-as-forwards/108639
**Category:** Bug
**Created:** [07.Февраль.2019 21:43:17 UTC](https://meta.discourse.org/t/emails-forwarded-with-apple-mail-iphone-mail-are-not-detected-as-forwards/108639 "2019-02-07T21:43:17Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [07.Февраль.2019 21:43:17 UTC](https://meta.discourse.org/t/emails-forwarded-with-apple-mail-iphone-mail-are-not-detected-as-forwards/108639/1 "2019-02-07T21:43:17Z")

</div>

\_Part of [https://meta.discourse.org/t/paid-meta-request-for-ticketing-system-related-improvements/109401\_](https://meta.discourse.org/t/paid-meta-request-for-ticketing-system-related-improvements/109401_)

(This looks more like a bug for Apple Mail than for Discourse, but…)

Forwarded emails are rendering as expected in our instance… except when they are forwarded from Apple Mail or iPhone Mail.

Expected behavior:

- New topic created by the staged user that sent the original message…
- … followed by a first reply from the user (staged or not) that forwarded the original email.

Actual behavior with Apple Mail / iPhone Mail

- New topic created by the user (staged or not) forwarding the message. The forwarded email appears as trimmed content. Expanding shows a text looking like a reply. There is no easy way to respond to the original sender.

And it looks like a reply because Apple Mail does seem to render forwards as replies. Excerpt from the raw message:

```plaintext
> Begin forwarded message:
> 
> From: E. <etc@etc.etc>
> Subject: Forward test 
> Date: February 7, 2019 at 12:52:15 PM PST
> To: bla@bla.bla
> 
> Will this one work?
> 
> Sent from my iPhone

```

The syntax used by the Apple Mail desktop app is the same.

---

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [07.Февраль.2019 22:28:37 UTC](https://meta.discourse.org/t/emails-forwarded-with-apple-mail-iphone-mail-are-not-detected-as-forwards/108639/2 "2019-02-07T22:28:37Z")

</div>

(Edited to clarify: the bug happens when you forward using Apple Mail / iPhone Mail. It does not happen when you forward emails from a “proper” email client.)

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [18.Февраль.2019 03:37:07 UTC](https://meta.discourse.org/t/emails-forwarded-with-apple-mail-iphone-mail-are-not-detected-as-forwards/108639/4 "2019-02-18T03:37:07Z")

</div>

This one also seems like something that perhaps should be handled in Discourse itself. What do you think @sam?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [18.Февраль.2019 03:40:42 UTC](https://meta.discourse.org/t/emails-forwarded-with-apple-mail-iphone-mail-are-not-detected-as-forwards/108639/5 "2019-02-18T03:40:42Z")

</div>

Yeah handling the way we handle forwarded emails is in scope for Discourse core.

@dan can you add this to your list.

---

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [24.Февраль.2019 07:23:46 UTC](https://meta.discourse.org/t/emails-forwarded-with-apple-mail-iphone-mail-are-not-detected-as-forwards/108639/6 "2019-02-24T07:23:46Z")

</div>

Спасибо, что разобрались с этой проблемой. Пока я снял тег [paid] и переместил эту тему обратно в #Contribute > Bug.

---

<div class="post-metadata">

### Author: ![dan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dan/32/101549_2.png) [@dan](https://meta.discourse.org/u/dan)
#### Post date: [10.Апрель.2019 22:19:50 UTC](https://meta.discourse.org/t/emails-forwarded-with-apple-mail-iphone-mail-are-not-detected-as-forwards/108639/9 "2019-04-10T22:19:50Z")

</div>

This has been fixed in [this pull request](https://github.com/discourse/email_reply_trimmer/pull/14).

Thanks for reporting the bug!

---

<div class="post-metadata">

### Author: ![dan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dan/32/101549_2.png) [@dan](https://meta.discourse.org/u/dan)
#### Post date: [10.Апрель.2019 22:19:54 UTC](https://meta.discourse.org/t/emails-forwarded-with-apple-mail-iphone-mail-are-not-detected-as-forwards/108639/10 "2019-04-10T22:19:54Z")

</div>


