forked from extern/egroupware
control (and try to fix) messed up addresses by horde, when fetching the envelope
This commit is contained in:
parent
9031d1d051
commit
6e88374e6f
@ -3981,7 +3981,22 @@ class mail_bo
|
||||
case 'cc':
|
||||
case 'bcc':
|
||||
case 'sender':
|
||||
//error_log(__METHOD__.__LINE__.array2string($env->$v->addresses));
|
||||
$envelope[$v]=$env->$v->addresses;
|
||||
$address = array();
|
||||
foreach ($envelope[$v] as $k => $ad)
|
||||
{
|
||||
if (stripos($ad,'@')===false)
|
||||
{
|
||||
$remember=$k;
|
||||
}
|
||||
else
|
||||
{
|
||||
$address[] = (!is_null($remember)?$envelope[$v][$remember].' ':'').$ad;
|
||||
$remember=null;
|
||||
}
|
||||
}
|
||||
$envelope[$v] = $address;
|
||||
break;
|
||||
case 'date':
|
||||
$envelope[$v]=egw_time::to($env->$v);
|
||||
|
@ -1589,7 +1589,6 @@ unset($query['actions']);
|
||||
}
|
||||
if (!empty($uid)) $flags = $this->mail_bo->getFlags($uid);
|
||||
$envelope = $this->mail_bo->getMessageEnvelope($uid, $partID,true);
|
||||
|
||||
$rawheaders = $this->mail_bo->getMessageRawHeader($uid, $partID);
|
||||
$fetchEmbeddedImages = false;
|
||||
if ($htmlOptions !='always_display') $fetchEmbeddedImages = true;
|
||||
|
@ -89,7 +89,7 @@ force plain text mail de erzwinge Text
|
||||
forward as attachment mail de weiterleiten als Anhang
|
||||
forward inline mail de Inline weiterleiten
|
||||
forward to mail de weiterleiten an
|
||||
from mail de von
|
||||
from mail de Von
|
||||
from(a->z) mail de Von (A->Z)
|
||||
from(z->a) mail de Von (Z->A)
|
||||
general settings mail de Allgemeine Einstellungen
|
||||
|
Loading…
Reference in New Issue
Block a user