mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
provide contact-id on errormessage on failure of mail-merge
This commit is contained in:
parent
7b18fc9319
commit
1cb8c3f47c
@ -1439,7 +1439,11 @@ abstract class bo_merge
|
||||
$retString = '';
|
||||
if (count($msgs['success'])>0) $retString .= count($msgs['success']).' '.(count($msgs['success'])+count($msgs['failed'])==1?lang('Message prepared for sending.'):lang('Message(s) send ok.'));//implode('<br />',$msgs['success']);
|
||||
//if (strlen($retString)>0) $retString .= '<br />';
|
||||
if (count($msgs['failed'])>0) $retString .= count($msgs['failed']).' '.lang('Message(s) send failed!').'=>'.implode(', ',$msgs['failed']);
|
||||
foreach($msgs['failed'] as $c =>$e)
|
||||
{
|
||||
$errorString .= lang('contact').' '.lang('id').':'.$c.'->'.$e.'.';
|
||||
}
|
||||
if (count($msgs['failed'])>0) $retString .= count($msgs['failed']).' '.lang('Message(s) send failed!').'=>'.$errorString;
|
||||
return $retString;
|
||||
break;
|
||||
case 'application/vnd.oasis.opendocument.text':
|
||||
|
Loading…
Reference in New Issue
Block a user