diff options
author | alecpl <alec@alec.pl> | 2008-05-01 14:27:48 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-05-01 14:27:48 +0000 |
commit | 7ec922fdf5817750c29bcb1748e50d799db2eb00 (patch) | |
tree | 97d1a8147539562d1ddf11638a0cf5dfe1711de9 /program/steps/mail/func.inc | |
parent | 5b82152607dfdec439b4c0703c51066cd16ce0be (diff) |
- Fix BCC header reset (#1484997)
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r-- | program/steps/mail/func.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 9a81a00ec..1c1a4c6e7 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -1419,10 +1419,12 @@ function rcmail_deliver_message(&$message, $from, $mailto) // clean Bcc from header for recipients $send_headers = $headers; unset($send_headers['Bcc']); + // here too, it because txtHeaders() below use $message->_headers not only $send_headers + unset($message->_headers['Bcc']); // send message $smtp_response = array(); - $sent = smtp_mail($from, $a_recipients, ($foo = $message->txtHeaders($send_headers)), $msg_body, $smtp_response); + $sent = smtp_mail($from, $a_recipients, ($foo = $message->txtHeaders($send_headers, true)), $msg_body, $smtp_response); // log error if (!$sent) |