Question:
mail(); php not working?
atheist
2007-05-26 14:03:56 UTC
Hi ya all
The web hoster reciently updated the server to include php5 support and now all our clients email forms are not sending emails.
I checked the php.net manual and the mail() is supported in php5.
I then updated my testing server on my machine to Apache2 and php 5.2.1 and now it is not sending emails either!!!@
Ive tried numerous codes to fix with not luck.
Can anyone suggest a fix or let me know why this is happening. Desperate.
Three answers:
anonymous
2007-05-26 21:41:36 UTC
I don't honestly know this to be the problem you're having, but I suspect that the upgrade may have automatically restricted use of the mail() function on your server(s) when installed. Each server that runs PHP has the capability to disallow certain functions and this may be a case where a configuration file has been either purposely or inadvertently changed by the new installation.





I'd suggest you and your host investigate this further at http://www.php.net They are the horse's mouth so to speak, and have a ton of docs. Pay particular attention to restricting functions and check it out if you haven't already. I hope this helps you out.
?
2016-11-28 02:25:42 UTC
maximum loose information superhighway hosting gained't even provide you with own abode web page! even if you obtained own abode web page, even a lot less loose host will provide you SMTP (it really is advisable to deliver own abode web page mail). Ask them is this is enabled (I seriously doubt!)
pgal
2007-05-28 02:59:31 UTC
If you provide output of phpinfo(); it would be easer to help you


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...