homepage Welcome to WebmasterWorld Guest from 54.197.110.151
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
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

5+ Year Member



 
Msg#: 3825588 posted 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

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



 
Msg#: 3825588 posted 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

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



 
Msg#: 3825588 posted 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

5+ Year Member



 
Msg#: 3825588 posted 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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved