mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
alter message on success/failure of multiple message sending via addressbook mail-merge
This commit is contained in:
parent
ff536e6f1c
commit
6362e257b1
@ -1438,7 +1438,7 @@ abstract class bo_merge
|
|||||||
}
|
}
|
||||||
//error_log(__METHOD__.__LINE__.' Message after importMessageToMergeAndSend:'.array2string($msgs));
|
//error_log(__METHOD__.__LINE__.' Message after importMessageToMergeAndSend:'.array2string($msgs));
|
||||||
$retString = '';
|
$retString = '';
|
||||||
if (count($msgs['success'])>0) $retString .= count($msgs['success']).' '.(count($msgs['success'])==1?lang('Message prepared for sending.'):lang('Message(s) send ok.'));//implode('<br />',$msgs['success']);
|
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 (strlen($retString)>0) $retString .= '<br />';
|
||||||
if (count($msgs['failed'])>0) $retString .= count($msgs['failed']).' '.lang('Message(s) send failed!').'=>'.implode(', ',$msgs['failed']);
|
if (count($msgs['failed'])>0) $retString .= count($msgs['failed']).' '.lang('Message(s) send failed!').'=>'.implode(', ',$msgs['failed']);
|
||||||
return $retString;
|
return $retString;
|
||||||
|
Loading…
Reference in New Issue
Block a user