Fix double semi colon
This commit is contained in:
parent
8a58471aeb
commit
f760b20bde
@ -477,7 +477,7 @@ if (($action == 'send' || $action == 'relance') && !$_POST['addfile'] && !$_POST
|
|||||||
$mesg .= $langs->transnoentities('ErrorFailedToSendMail', dol_escape_htmltag($from), dol_escape_htmltag($sendto));
|
$mesg .= $langs->transnoentities('ErrorFailedToSendMail', dol_escape_htmltag($from), dol_escape_htmltag($sendto));
|
||||||
$mesg .= '<br>'.$mailfile->error;
|
$mesg .= '<br>'.$mailfile->error;
|
||||||
} else {
|
} else {
|
||||||
$mesg .= $langs->transnoentities('ErrorFailedToSendMail', dol_escape_htmltag($from), dol_escape_htmltag($sendto));;
|
$mesg .= $langs->transnoentities('ErrorFailedToSendMail', dol_escape_htmltag($from), dol_escape_htmltag($sendto));
|
||||||
if (!empty($conf->global->MAIN_DISABLE_ALL_MAILS)) {
|
if (!empty($conf->global->MAIN_DISABLE_ALL_MAILS)) {
|
||||||
$mesg .= '<br>Feature is disabled by option MAIN_DISABLE_ALL_MAILS';
|
$mesg .= '<br>Feature is disabled by option MAIN_DISABLE_ALL_MAILS';
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -862,7 +862,7 @@ class CMailFile
|
|||||||
|
|
||||||
if (!empty($conf->global->$keyforsmtpid)) $this->transport->setUsername($conf->global->$keyforsmtpid);
|
if (!empty($conf->global->$keyforsmtpid)) $this->transport->setUsername($conf->global->$keyforsmtpid);
|
||||||
if (!empty($conf->global->$keyforsmtppw)) $this->transport->setPassword($conf->global->$keyforsmtppw);
|
if (!empty($conf->global->$keyforsmtppw)) $this->transport->setPassword($conf->global->$keyforsmtppw);
|
||||||
if (! empty($conf->global->$keyforsslseflsigned)) $this->transport->setStreamOptions(array('ssl' => array('allow_self_signed' => true, 'verify_peer' => false)));;
|
if (!empty($conf->global->$keyforsslseflsigned)) $this->transport->setStreamOptions(array('ssl' => array('allow_self_signed' => true, 'verify_peer' => false)));
|
||||||
//$smtps->_msgReplyTo = 'reply@web.com';
|
//$smtps->_msgReplyTo = 'reply@web.com';
|
||||||
|
|
||||||
// Switch content encoding to base64 - avoid the doubledot issue with quoted-printable
|
// Switch content encoding to base64 - avoid the doubledot issue with quoted-printable
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user