rogelio23 Posted December 6, 2006 Share Posted December 6, 2006 My mail function is not working:Please help me fix this, the error message appear like this: Permission denied: unable to execute shell to run mail delivery binaryI tried running this mail function on linux at the command line, and its run correctly. but on browser the error message appeared. Quote Link to comment Share on other sites More sharing options...
the_oliver Posted December 7, 2006 Share Posted December 7, 2006 how are the permitions set on the files? Quote Link to comment Share on other sites More sharing options...
rogelio23 Posted December 7, 2006 Author Share Posted December 7, 2006 the php file is public with 777 chmod. From my understanding the sendmail is not accepting mail function call from browser because when I did this on the command line its working. How do I set that the sendmail will permit the browser mail function call. Quote Link to comment Share on other sites More sharing options...
the_oliver Posted December 7, 2006 Share Posted December 7, 2006 I would place money on if being an option in the config. Mine lives in /etc/mail/sendmail.mcTry altering that and then make it.Strange thing is that the server should regard it as a local user trying to send mail. It will receve the message from the local apache user on your mashine. Can you send mail from the apache account? (loggin as root, su apache etc). That could shed lighit on the area!Im leaning more towords it being a code thing. Perhaps your sendmail is asking for authorisating? Quote Link to comment 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.