We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daed968 commit bcb518dCopy full SHA for bcb518d
mailer.http.class.php
@@ -278,7 +278,7 @@ protected function get_request_headers($hide_api_key = false)
278
protected function parse_reply_to_from_custom_header()
279
{
280
$replyTos = array();
281
- foreach ($this->CustomHeader as $header) { // wp_mail sets Reply-To as custom header (does not use phpmailer->addReplyTo)
+ foreach ($this->getCustomHeaders() as $header) { // wp_mail sets Reply-To as custom header (does not use phpmailer->addReplyTo)
282
list($name, $value) = $header;
283
if ($name === 'Reply-To' && !empty($value)) {
284
$replyTos[] = trim($value);
0 commit comments