From a76e8dda2d45b57dfef33dc145ee300f5f571af9 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 23 Jan 2019 14:11:14 +0100 Subject: [PATCH] Add original message separator --- api/src/Storage/Tracking.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/src/Storage/Tracking.php b/api/src/Storage/Tracking.php index 967494f1ea..17998bcbcb 100644 --- a/api/src/Storage/Tracking.php +++ b/api/src/Storage/Tracking.php @@ -799,6 +799,9 @@ abstract class Tracking $notification = new $class(); $notification->set_receivers(array($receiver)); $notification->set_message($body_cache['text'], 'plain'); + // add our own signature to distinguish between original message and reply + // part. (e.g.: in OL there's no reply quote) + $body_cache['html'] = "----- origianl message -----"."\r\n".$body_cache['html']; $notification->set_message($body_cache['html'], 'html'); $notification->set_sender($sender); $notification->set_subject($subject);