homepage Welcome to WebmasterWorld Guest from 54.227.141.230
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
PHP form mailer
scalp8




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

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




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

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.

rocknbil




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

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

error_reporting(E_ALL);
ini_set('display_errors', '1');

scalp8




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

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved