Welcome to WebmasterWorld Guest from

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

PHP form mailer



7:59 pm on Jan 13, 2009 (gmt 0)

5+ Year Member

PHP is setup to send emails automatically when certain actions take place with users' accounts. This worked perfectly before migrating to a new server so I don't think it is a scripting issue. Everything I can find on it seems to point to PHP not needing to have any paths listed in it for this to work and that it should be able to figure it out on it's own. I've updated the information on the server to point to our mail server. No errors are returned and it seems as though everything is going through properly, but no emails end up going out. Any ideas? I've tried setting up a form mailer page just to make sure that it wasn't a scripting issue, but that did not work as well. Is there a bare bones form that could be set up to see what error message we get back?

brotherhood of LAN

9:33 pm on Jan 13, 2009 (gmt 0)

WebmasterWorld Administrator brotherhood_of_lan is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Have you tried running the simple mailer script from the command line?

I've recently had the same problem, remedied with a (non-PHP) module being installed. I only found out the problem after trying from the command line, as running from HTTP produced no PHP errors.


4:24 am on Jan 14, 2009 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

This may be trivial . . did you try putting this at the top of the scripts temporarily?

ini_set('display_errors', '1');


3:01 pm on Jan 14, 2009 (gmt 0)

5+ Year Member

Thanks for the replies, but I just heard from GoDaddy. They had given me the wrong domain for the mail server to put into the settings for my server. Now that that is correct everything works well.

Featured Threads

Hot Threads This Week

Hot Threads This Month