* eMail: email to infolog -> fix for not decoded senderinformation

This commit is contained in:
Klaus Leithoff 2011-01-12 12:00:53 +00:00
parent 0656e82a85
commit 6511f42e43

View File

@ -1101,8 +1101,8 @@
}
if (is_array($this->sessionData['cc'])) $mailaddresses['cc'] = $this->sessionData['cc'];
if (is_array($this->sessionData['bcc'])) $mailaddresses['bcc'] = $this->sessionData['bcc'];
if (!empty($mailaddresses)) $mailaddresses['from'] = $fromAddress;
// attention: we dont return from infolog/trackere. You cannot check both. cleanups will be done there.
if (!empty($mailaddresses)) $mailaddresses['from'] = $GLOBALS['egw']->translation->decodeMailHeader($fromAddress);
// attention: we dont return from infolog/tracker. You cannot check both. cleanups will be done there.
if ($_formData['to_infolog'] == 'on') {
$uiinfolog =& CreateObject('infolog.infolog_ui');
$uiinfolog->import_mail(