mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
fix for missing mail_bo::replaceEmailAdresses call. Fix for not supported FromName Attribute in compose/egw_mailer
This commit is contained in:
parent
f2793cad97
commit
77c2b3d9af
@ -1441,7 +1441,7 @@ class mail_compose
|
||||
static function replaceEmailAdresses(&$text)
|
||||
{
|
||||
// replace emailaddresses eclosed in <> (eg.: <me@you.de>) with the emailaddress only (e.g: me@you.de)
|
||||
mail_bo::replaceEmailAdresses($text);
|
||||
translation::replaceEmailAdresses($text);
|
||||
return 1;
|
||||
}
|
||||
|
||||
@ -2748,7 +2748,7 @@ class mail_compose
|
||||
// create the messages
|
||||
$this->createMessage($mail, $_formData, $identity);
|
||||
// remember the identity
|
||||
if ($_formData['to_infolog'] == 'on' || $_formData['to_tracker'] == 'on') $fromAddress = $mail->FromName.($mail->FromName?' <':'').$mail->From.($mail->FromName?'>':'');
|
||||
if ($_formData['to_infolog'] == 'on' || $_formData['to_tracker'] == 'on') $fromAddress = $mail->From;//$mail->FromName.($mail->FromName?' <':'').$mail->From.($mail->FromName?'>':'');
|
||||
#print "<pre>". $mail->getMessageHeader() ."</pre><hr><br>";
|
||||
#print "<pre>". $mail->getMessageBody() ."</pre><hr><br>";
|
||||
#exit;
|
||||
|
Loading…
Reference in New Issue
Block a user