melvint8171 Posted April 26, 2017 Share Posted April 26, 2017 My PHP email form was working initially for years. Now I'm getting an error (see in /var/log/maillog), when running php email form. BUT, I can send an email from Linux command line with this command: echo "Subject: sendemail test" | sendmail -v John.Doe@coe.ic.govI receive the email after running sendmail command from within terminal command line...I get the following error when running PHP Mail form:Sendmail(5744) : NOQUEUE: SYSERR(apache) : /etc/mail/submit.cf : line 0 : cannot open: Permission denied Quote Link to comment https://forums.phpfreaks.com/topic/303806-sendmail-error-when-sending-php-mail-form/ Share on other sites More sharing options...
requinix Posted April 26, 2017 Share Posted April 26, 2017 Stuff doesn't suddenly stop working for no reason. What else changed recently? Quote Link to comment https://forums.phpfreaks.com/topic/303806-sendmail-error-when-sending-php-mail-form/#findComment-1545876 Share on other sites More sharing options...
melvint8171 Posted April 28, 2017 Author Share Posted April 28, 2017 I'm not sure what changed. . .we have virtual server space. .the organization who maintains the servers may have made a change, to where it affected my php mail form. . .I know sendmail is operational, because I'm able to send a test email from command line in terminal window. . .but get error shown in "maillog" when using php to submit email form. Quote Link to comment https://forums.phpfreaks.com/topic/303806-sendmail-error-when-sending-php-mail-form/#findComment-1545950 Share on other sites More sharing options...
requinix Posted April 28, 2017 Share Posted April 28, 2017 The error looks like a configuration issue so odds are they would be the ones to fix it. You have folks who manage the server - ask them. Quote Link to comment https://forums.phpfreaks.com/topic/303806-sendmail-error-when-sending-php-mail-form/#findComment-1545952 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.