DataObjects/Core_email.php
authorEdward <edward@roojs.com>
Wed, 21 Jan 2015 09:08:17 +0000 (17:08 +0800)
committerEdward <edward@roojs.com>
Wed, 21 Jan 2015 09:08:17 +0000 (17:08 +0800)
DataObjects/Core_email.php

index bd8164e..88b8112 100644 (file)
@@ -365,7 +365,8 @@ class Pman_Core_DataObjects_Core_email extends DB_DataObject
             "To: {if:t.person}{t.person.getEmailFrom():h}{else:}{rcpts:h}{end:}",
             "Subject: {t.subject} ",
             "X-Message-ID: {t.id} ",
-            "{if:t.replyTo}Reply-To: {t.replyTo:h}{end:}"
+            "{if:t.replyTo}Reply-To: {t.replyTo:h}{end:}",
+            "{if:t.mailgun-variables}X-Mailgun-Variables: {t.t.mailgun-variables:h}{end:}"
         ))."\n");