bcc in headers not stripped
Paul Juliano
paul@edsamail.com.ph
Tue, 17 Apr 2001 15:21:28 +0800
Hi,
In IMP 2.3.7-cvs, I think that the in ~imp/compose.php, the bcc field
should not be added in the header of the message, only in the recipient
list of the message should the bcc field be included.
...
if ($conf['compose']['allow_bcc'] && !empty($HTTP_POST_VARS['bcc'])) {
$HTTP_POST_VARS['bcc'] = format_addresses($HTTP_POST_VARS['bcc']);
$headers['Bcc'] = $HTTP_POST_VARS['bcc']; /* I took this line out */
$recipients = (empty($recipients)) ? $HTTP_POST_VARS['bcc'] : "$rec\
ipients, " . $HTTP_POST_VARS['bcc'];
}
...
I'm using qmail as my smtp host. Without removing the $headers['Bcc']
line above, email addresses in the bcc field appear on the messages delivered, and thus defeating the purpose of the bcc field.
__________________________________
www.edsamail.com