Could not execute: /var/qmail/bin/sendmail PHPMailer

Leave a Comment
If you have any problem while sending email using PHPMailer or PHP mail() function like this "Could not execute: /var/qmail/bin/sendmail". Please check following things

1. Are you sure the path /var/qmail/bin/sendmail is correct?
2. If yes, check also the permissions for sendmail are set correctly.  Because if you are in shared hosting by default they won’t provide support to sendmail. Create a support ticket & ask to enable to sendmail funcionality.

Please check following tutorial send an email with attachments using PHP, jQuery and Ajax.

Send an E-Mail with Attachment Using jQuery, Ajax and PHP without Refrshing a Page
 

0 comments:

Post a Comment