I think the bug is the "from_html($bean->full_name)" in module
/modules/Emails/Compose.php.
full_name ist the localized name and must not be used in an email.
I would propose to replace the whole section
PHP Code:
if (isset($_REQUEST['to_email_addrs'])) {
$namePlusEmail = from_html($_REQUEST['to_email_addrs']);
$namePlusEmail = str_replace(" ", " ", $namePlusEmail);
} else {
if (isset($bean->full_name)) {
$namePlusEmail = from_html($bean->full_name) . " <". from_html($bean->emailAddress->getPrimaryAddress($bean)).">";
} else if(isset($bean->emailAddress)){
$namePlusEmail = "<".from_html($bean->emailAddress->getPrimaryAddress($bean)).">";
}
}
by one simple satement:
PHP Code:
$namePlusEmail = from_html($bean->first_name." ".$bean->last_name)."<".from_html($bean->emailAddress->getPrimaryAddress($bean)).">";
or even only a
PHP Code:
$namePlusEmail = "<".from_html($bean->emailAddress->getPrimaryAddress($bean)).">";
Bookmarks