From a0f9c9008333e3f9c1eb7106684a6db4e099811e Mon Sep 17 00:00:00 2001 From: systopia Date: Wed, 6 Jan 2016 16:43:22 +0100 Subject: [PATCH] fixed #4 --- de.systopia.civiproxy/CRM/Civiproxy/Mailer.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/de.systopia.civiproxy/CRM/Civiproxy/Mailer.php b/de.systopia.civiproxy/CRM/Civiproxy/Mailer.php index 0aa38f9..f62eb9e 100644 --- a/de.systopia.civiproxy/CRM/Civiproxy/Mailer.php +++ b/de.systopia.civiproxy/CRM/Civiproxy/Mailer.php @@ -30,7 +30,9 @@ class CRM_Civiproxy_Mailer { * mending the URLs contained */ function send($recipients, $headers, $body) { - CRM_CiviProxy_Mailer::mendURLs($headers); + foreach ($headers as &$header) { + CRM_CiviProxy_Mailer::mendURLs($header); + } CRM_CiviProxy_Mailer::mendURLs($body); $this->mailer->send($recipients, $headers, $body); }