FIx #23288
This commit is contained in:
parent
c6ee45cc53
commit
c09751dfd5
@ -81,7 +81,7 @@ if ($action == "send") {
|
|||||||
$msg = "<html>".$arraydefaultmessage->content."<br>".$receipt."</html>";
|
$msg = "<html>".$arraydefaultmessage->content."<br>".$receipt."</html>";
|
||||||
$sendto = $email;
|
$sendto = $email;
|
||||||
$from = $mysoc->email;
|
$from = $mysoc->email;
|
||||||
$mail = new CMailFile($subject, $sendto, $from, $msg, array(), array(), array(), '', '', 0, 1);
|
$mail = new CMailFile($subject, $sendto, $from, $msg, array(), array(), array(), '', '', 0, 1, '', '', '', '', '', '', DOL_DOCUMENT_ROOT.'/documents/takepos/temp');
|
||||||
if ($mail->error || !empty($mail->errors)) {
|
if ($mail->error || !empty($mail->errors)) {
|
||||||
setEventMessages($mail->error, $mail->errors, 'errors');
|
setEventMessages($mail->error, $mail->errors, 'errors');
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user