PDA

View Full Version : PHP Mail() Stopped working all of a sudden



crizza2000
11-26-2009, 08:38 PM
I have had a working script on my site for nearly 3 years using the php mail() function. 2 days ago, it stopped working for no reason.

Have Bluehost changed something on their servers ??

Anyone else had the same problem / and solutions?

thanks

jeffnick
11-26-2009, 10:02 PM
I have the same problem as you except mine hasn't been working from the start :(

http://bluehostforum.com/showthread.php?t=18912

KenJackson
11-28-2009, 11:06 AM
Yes. I had the same situation. My very handy little jackson.io/ip/ (http://jackson.io/ip/) service stopped returning IP addresses several days ago. I meant to post something here, but never got around to it.

It turned out they had installed a new version of PHP that broke some old stuff. The fix is:
Go to the control panel,
Scroll down to Software / Services,
Click on PHP Config,
Select one (I switched from PHP5 to PHP5 (FastCGI), which is proving quite adequate), and
Save the changes.

You may have to also update your php.ini files, if you've modified them.

Rajmahall
12-01-2009, 11:51 PM
On one account, I have PHPList that I have used successfully for a couple of months that just stopped working for me just in the last week or so. The event log shows "could not instantiate mail function". It last worked on 11/20.

I tried:
Switch to smtp mail in application config file
Check php.ini file for correct path to sendmail
Removed -t -i options from sendmail path, tried variations on this
Check php.ini file for magic-quotes and other settings as specified at phplist forum

Still not working.

Called tech support, spent about two hours with a rep and scripting expert, still could not get it to work.

I have a linux server box and I know there was an update to phplib and Apache in the last week or so.

Anyways, anyone else having this problem or any luck fixing it? How?

Thinking about switching to Dada mail. Anyone have experience with that one?

SteveStation
12-02-2009, 03:41 PM
I am using pommo and its working fine for me, if you want you can give a try its easy to use.