This commit is contained in:
Laurent Destailleur 2022-12-21 19:26:17 +01:00
parent c6ee45cc53
commit c09751dfd5

View File

@ -81,7 +81,7 @@ if ($action == "send") {
$msg = "<html>".$arraydefaultmessage->content."<br>".$receipt."</html>";
$sendto = $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)) {
setEventMessages($mail->error, $mail->errors, 'errors');
} else {