mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 17:18:54 +01:00
try to fix missing sender email
This commit is contained in:
parent
bb12e99a8b
commit
d32e576dfa
@ -1665,7 +1665,6 @@ class mail_bo
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
$_string = translation::decodeMailHeader($_string,self::$displayCharset);
|
$_string = translation::decodeMailHeader($_string,self::$displayCharset);
|
||||||
//$_tryIDNConversion=false;
|
|
||||||
if ($_tryIDNConversion===true && stripos($_string,'@')!==false)
|
if ($_tryIDNConversion===true && stripos($_string,'@')!==false)
|
||||||
{
|
{
|
||||||
$rfcAddr = imap_rfc822_parse_adrlist(str_replace(',','\,',$_string),'');
|
$rfcAddr = imap_rfc822_parse_adrlist(str_replace(',','\,',$_string),'');
|
||||||
|
@ -2176,7 +2176,11 @@ class mail_compose
|
|||||||
$this->sessionData['attachments'] = $_formData['attachments'];
|
$this->sessionData['attachments'] = $_formData['attachments'];
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
$identity = emailadmin_account::read_identity($this->sessionData['mailaccount'],true);
|
$acc = emailadmin_account::read($this->sessionData['mailaccount']);
|
||||||
|
//error_log(__METHOD__.__LINE__.array2string($acc));
|
||||||
|
$identity = emailadmin_account::read_identity($acc['ident_id'],true);
|
||||||
|
|
||||||
|
//$identity = emailadmin_account::read_identity($this->sessionData['mailaccount'],true);
|
||||||
}
|
}
|
||||||
catch (Exception $e)
|
catch (Exception $e)
|
||||||
{
|
{
|
||||||
@ -2289,7 +2293,11 @@ class mail_compose
|
|||||||
#error_log(print_r($this->preferences,true));
|
#error_log(print_r($this->preferences,true));
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
$identity = emailadmin_account::read_identity($this->sessionData['mailaccount'],true);
|
$acc = emailadmin_account::read($this->sessionData['mailaccount']);
|
||||||
|
//error_log(__METHOD__.__LINE__.array2string($acc));
|
||||||
|
$identity = emailadmin_account::read_identity($acc['ident_id'],true);
|
||||||
|
|
||||||
|
//$identity = emailadmin_account::read_identity($this->sessionData['mailaccount'],true);
|
||||||
}
|
}
|
||||||
catch (Exception $e)
|
catch (Exception $e)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user