From e33f6bd6bce974ec0d9836e1589ea1facf159841 Mon Sep 17 00:00:00 2001
From: yehuda <yehuda@myinbox.in>
Date: Mon, 4 Mar 2019 16:40:35 +0200
Subject: * Added support for our new chrome notification extension. * few
 fixes

---
 Postman/Postman-Mail/PostmanMailgunMailEngine.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'Postman/Postman-Mail/PostmanMailgunMailEngine.php')

diff --git a/Postman/Postman-Mail/PostmanMailgunMailEngine.php b/Postman/Postman-Mail/PostmanMailgunMailEngine.php
index e874704..f098ec9 100644
--- a/Postman/Postman-Mail/PostmanMailgunMailEngine.php
+++ b/Postman/Postman-Mail/PostmanMailgunMailEngine.php
@@ -224,7 +224,7 @@ if ( ! class_exists( 'PostmanMailgunMailEngine' ) ) {
 
 		private function addHeader( $name, $value, $deprecated = '' ) {
 			if ( $value && ! empty( $value ) ) {
-				$this->mailgunMessage['h:' . $name] = $value;
+				$this->mailgunMessage['h:' . $name] = preg_replace('/.*:\s?/', '', $value);
 			}
 		}
 
-- 
cgit v1.2.3