Hi Everyone,
I get an error when trying to send an email to a contact.
“Error Sending Email
Error:Could not execute: /usr/sbin/sendmail”
This only happens when trying to send an email to a contact, I can still send system emails, so resetting account passwords and so on. I’ve looked on the forum but cannot see anyone else with this error.
System log shows
“Thu Apr 21 10:16:59 2016 [538114][b956b312-81c8-db6c-cbbb-570f92f1e0b3][FATAL] SugarPHPMailer encountered an error: Could not execute: /usr/sbin/sendmail”
Any help would be appreciated.
Fixed the issue. This can be closed now.
Thanks
Could you please tell me how to fix it? I have the same issue.
Thank you!
Hi Cyan,
My error came back and i’m struggling to get it fixed.
If i do come across a fix, will update you
I am also facing this problem currently.
Can you share the solution?
THanks,
RK
I am also facing the same problem
Wed Mar 29 05:44:27 2017 [17145][1][FATAL] SugarPHPMailer encountered an error: Could not execute: /usr/sbin/sendmail
Wed Mar 29 05:44:27 2017 [17145][1][FATAL] Email delivery FAILURE:Array
Dear Mayank,
The problem turned out to be in the file “modules/EmailMan/EmailManDelivery.php”.
In line # 225, you must change “smtp” to “SMTP” (in caps).
So, you must change:

With thanks,
RK