From 614964a50054f51844888b339ac935a803eca822 Mon Sep 17 00:00:00 2001 From: Mattias Michaux Date: Fri, 30 Oct 2015 17:42:42 +0100 Subject: [PATCH] Added correct from value for default reply-to address. --- CRM/Utils/Mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Mail.php b/CRM/Utils/Mail.php index b7ea6dff01..6f096eafbc 100644 --- a/CRM/Utils/Mail.php +++ b/CRM/Utils/Mail.php @@ -203,7 +203,7 @@ class CRM_Utils_Mail { $headers['Return-Path'] = CRM_Utils_Array::value('returnPath', $params); // CRM-11295: Omit reply-to headers if empty; this avoids issues with overzealous mailservers - $replyTo = CRM_Utils_Array::value('replyTo', $params, $from); + $replyTo = CRM_Utils_Array::value('replyTo', $params, CRM_Utils_Array::value('from', $params)); if (!empty($replyTo)) { $headers['Reply-To'] = $replyTo; -- 2.25.1