trigger gathering of the mailbody on sending for to_tracker - action too

This commit is contained in:
Klaus Leithoff 2013-10-15 11:24:10 +00:00
parent 1a02f8cb34
commit b365e2300f

View File

@ -1160,7 +1160,7 @@
#error_log("(re)opened Connection");
}
// if copying mail to folder, or saving mail to infolog, we need to gather the needed information
if (count($folder) > 0 || $_formData['to_infolog'] == 'on') {
if (count($folder) > 0 || $_formData['to_infolog'] == 'on' || $_formData['to_tracker'] == 'on') {
foreach((array)$this->sessionData['bcc'] as $address) {
$address_array = imap_rfc822_parse_adrlist((get_magic_quotes_gpc()?stripslashes($address):$address),'');
foreach((array)$address_array as $addressObject) {