mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
use MailSentByTo
This commit is contained in:
parent
6fa8a02c4b
commit
0e269102ae
|
|
@ -3138,7 +3138,7 @@ class Adherent extends CommonObject
|
|||
$extraparams = '';
|
||||
|
||||
$actionmsg = '';
|
||||
$actionmsg2 = $langs->transnoentities('MailSentBy').' '.CMailFile::getValidAddress($from, 4, 0, 1).' '.$langs->transnoentities('To').' '.CMailFile::getValidAddress($sendto, 4, 0, 1);
|
||||
$actionmsg2 = $langs->transnoentities('MailSentByTo', CMailFile::getValidAddress($from, 4, 0, 1), CMailFile::getValidAddress($sendto, 4, 0, 1));
|
||||
if ($message) {
|
||||
$actionmsg = $langs->transnoentities('MailFrom').': '.dol_escape_htmltag($from);
|
||||
$actionmsg = dol_concatdesc($actionmsg, $langs->transnoentities('MailTo').': '.dol_escape_htmltag($sendto));
|
||||
|
|
|
|||
|
|
@ -586,7 +586,7 @@ if (!$error && $massaction == 'confirm_presend') {
|
|||
if ($objectclass == 'CommandeFournisseur') $actiontypecode='AC_SUP_ORD';
|
||||
if ($objectclass == 'FactureFournisseur') $actiontypecode='AC_SUP_INV';*/
|
||||
|
||||
$actionmsg = $langs->transnoentities('MailSentBy').' '.$from.' '.$langs->transnoentities('To').' '.$sendto;
|
||||
$actionmsg = $langs->transnoentities('MailSentByTo', $from, $sendto);
|
||||
if ($message) {
|
||||
if ($sendtocc) {
|
||||
$actionmsg = dol_concatdesc($actionmsg, $langs->transnoentities('Bcc').": ".$sendtocc);
|
||||
|
|
|
|||
|
|
@ -208,7 +208,7 @@ class DataPolicy
|
|||
$message = make_substitutions($message, $substitutionarray);
|
||||
|
||||
$actiontypecode = 'AC_EMAIL';
|
||||
$actionmsg = $langs->transnoentities('MailSentBy').' '.$from.' '.$langs->transnoentities('To').' '.$sendto;
|
||||
$actionmsg = $langs->transnoentities('MailSentByTo', $from, $sendto);
|
||||
if ($message) {
|
||||
if ($sendtocc) {
|
||||
$actionmsg = dol_concatdesc($actionmsg, $langs->transnoentities('Bcc').": ".$sendtocc);
|
||||
|
|
@ -284,7 +284,7 @@ class DataPolicy
|
|||
$message = make_substitutions($message, $substitutionarray);
|
||||
|
||||
$actiontypecode = 'AC_EMAIL';
|
||||
$actionmsg = $langs->transnoentities('MailSentBy').' '.$from.' '.$langs->transnoentities('To').' '.$sendto;
|
||||
$actionmsg = $langs->transnoentities('MailSentByTo', $from, $sendto);
|
||||
if ($message) {
|
||||
if ($sendtocc) {
|
||||
$actionmsg = dol_concatdesc($actionmsg, $langs->transnoentities('Bcc').": ".$sendtocc);
|
||||
|
|
@ -359,7 +359,7 @@ class DataPolicy
|
|||
$message = make_substitutions($message, $substitutionarray);
|
||||
|
||||
$actiontypecode = 'AC_EMAIL';
|
||||
$actionmsg = $langs->transnoentities('MailSentBy').' '.$from.' '.$langs->transnoentities('To').' '.$sendto;
|
||||
$actionmsg = $langs->transnoentities('MailSentByTo', $from, $sendto);
|
||||
if ($message) {
|
||||
if ($sendtocc) {
|
||||
$actionmsg = dol_concatdesc($actionmsg, $langs->transnoentities('Bcc').": ".$sendtocc);
|
||||
|
|
|
|||
|
|
@ -223,7 +223,7 @@ if (!$error && $massaction == 'confirm_presend_attendees') {
|
|||
|
||||
dol_syslog("Try to insert email event into agenda for objid=" . $attendees->id . " => objectobj=" . get_class($attendees));
|
||||
|
||||
$actionmsg = $langs->transnoentities('MailSentBy') . ' ' . $from . ' ' . $langs->transnoentities('To') . ' ' . $sendto;
|
||||
$actionmsg = $langs->transnoentities('MailSentByTo', $from, $sendto);
|
||||
if ($message) {
|
||||
if ($sendtocc) {
|
||||
$actionmsg = dol_concatdesc($actionmsg, $langs->transnoentities('Bcc') . ": " . $sendtocc);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user