Jump to content

Sendmail error when sending PHP mail form


melvint8171

Recommended Posts

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.gov

I 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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.