jprahst32 Posted February 16, 2009 Share Posted February 16, 2009 I have a php form with 5 user input fields for basic information. When I test the form on my local computer it sends correctly. After I uploaded the form to my hosting company, the form does not send to the selected email address. I think it has to do with the hosting companies php.ini file, but I do not know what to tell them to switch it to to make my form submit to the correct email address. Any help would be appreciated. Link to comment https://forums.phpfreaks.com/topic/145467-form-input-not-sending-to-email-address/ Share on other sites More sharing options...
allworknoplay Posted February 16, 2009 Share Posted February 16, 2009 Yeah it's possible it's a reverse DNS issue. why it works for you locally, not sure why. But you can't willy nilly just create a form to send email unless your DNS and MX Records are setup properly at your ISP.... Link to comment https://forums.phpfreaks.com/topic/145467-form-input-not-sending-to-email-address/#findComment-763702 Share on other sites More sharing options...
jprahst32 Posted February 16, 2009 Author Share Posted February 16, 2009 So what should I tell the host to do about the RDNS and MX Records? Link to comment https://forums.phpfreaks.com/topic/145467-form-input-not-sending-to-email-address/#findComment-763708 Share on other sites More sharing options...
allworknoplay Posted February 16, 2009 Share Posted February 16, 2009 So what should I tell the host to do about the RDNS and MX Records? Well first of all, I'm just guestimating your issue since you haven't provided your code. But assuming your code is fine.. 1) if your domain is called: abc.com You have to call your ISP and create MX records and RDNS that points to abc.com so that mail coming from their server is checked properly against SPAM filters. 2) It takes at least 24 hours for info to propagate the internet so you won't see results right away... Link to comment https://forums.phpfreaks.com/topic/145467-form-input-not-sending-to-email-address/#findComment-763714 Share on other sites More sharing options...
jprahst32 Posted February 16, 2009 Author Share Posted February 16, 2009 I am pretty sure all of my code is correct because the information the user inputed does send locally to the correct email address. So, I guess I will ask the host about these options. Thanks for the help. Link to comment https://forums.phpfreaks.com/topic/145467-form-input-not-sending-to-email-address/#findComment-763717 Share on other sites More sharing options...
allworknoplay Posted February 16, 2009 Share Posted February 16, 2009 I am pretty sure all of my code is correct because the information the user inputed does send locally to the correct email address. So, I guess I will ask the host about these options. Thanks for the help. No problem... Link to comment https://forums.phpfreaks.com/topic/145467-form-input-not-sending-to-email-address/#findComment-763722 Share on other sites More sharing options...
angelcool Posted February 16, 2009 Share Posted February 16, 2009 What technique are you using on the PHP side of the form? perhaps mail()? DNS is a posibility, but chances are that could easily be something else, port settings, proxy server, as well as PHP settings. Link to comment https://forums.phpfreaks.com/topic/145467-form-input-not-sending-to-email-address/#findComment-763739 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.