Hello,
This is a problem that appeared after migrating Projeqtor from an old Debian 9 to a Debian 12 (PhP 7.3 to 8.2)
Everything about sending mails (sending invitaations, sending project to someone, etc...) worked on the old one
Now, on the new server, projeqtor works but not the mail sending part
Here is the error log when we try to use it
2024-04-23 19:53:09.150 ** ERROR ** [V11.1.3] ERROR **
2024-04-23 19:53:09.150 ** ERROR ** [V11.1.3] on file '/var/www/html/projeqtor/external/PHPMailer/src/PHPMailer.php' at line (1754)
2024-04-23 19:53:09.150 ** ERROR ** [V11.1.3] cause = fwrite(): Write of 167936 bytes failed with errno=32 Broken pipe
2024-04-23 19:53:09.150 ** ERROR ** [V11.1.3] Error sending mail
2024-04-23 19:53:09.151 ** ERROR ** [V11.1.3] SMTP Server : localhost
2024-04-23 19:53:09.151 ** ERROR ** [V11.1.3] SMTP Port : 25
2024-04-23 19:53:09.151 ** ERROR ** [V11.1.3] Mail stored in Database : #441
2024-04-23 19:53:09.151 ** ERROR ** [V11.1.3] PHPMail error : Could not execute: /usr/sbin/sendmail -t -i
2024-04-23 19:53:09.151 ** ERROR ***** [V11.1.3] PHPMail debug :
Could i have a hand on resolving this ?
Thanks
Hello,
From your log, we think it may be a problem with your disk (not enough space to write the temp file, for instance), but not really with ProjeQtOr.
Check your server configuration (which changed from what you said) and see if it matches our technical recommendations here.
hello,
We have found the problem on our side
like the php extension "Curl", sendmail is not installed by Projeqtor
After simply installing sendmail on debian, the mail function of our migrated Projeqtor worked again
"aptitude install sendmail"
Thank you again
Hello,
Glad to know you found it out and it works fine again, now 🙂
Have a nice day !