* eMail: if available show emailaddress of defaultprofile

This commit is contained in:
Klaus Leithoff 2013-07-09 09:51:33 +00:00
parent 90d55d2722
commit eb7208a02d

View File

@ -152,6 +152,10 @@ class felamimail_hooks
//$identities[0] = $defaultIdentity->realName.' '.$defaultIdentity->organization.' <'.$defaultIdentity->emailAddress.'>';
}
}
foreach ($identities as $tmpkey => $identity)
{
$identities[$tmpkey] = str_replace(array('<','>'),array('&lt;','&gt;'),$identity);
}
if (isset($GLOBALS['egw']->preferences->default['felamimail']['ActiveProfileID'])) unset($GLOBALS['egw']->preferences->default['felamimail']['ActiveProfileID']);
if($bofelamimail->openConnection($profileID)) {
$folderObjects = $bofelamimail->getFolderObjects(true, false);