roypiyas Posted March 28, 2014 Share Posted March 28, 2014 (edited) Dear friends I'm using a webform from where I am supposed to collect online feedback from site visitors. From a certain period back it stopped me from getting mail from that webform. After checking I found that its not working actually. I cant find any answer why. this is to mention that I am using a third party mail client by Google apps under my domain name. I have tested that some paid service like Formtoemail.com works in this case. But what is the actual problem in my code. why my PHP is not sending that mail? Can anybody give me some solution please...??? NOTE: After pressing the send button in browser, it gives success message showing that The Message has been sent... which is more confusing me contact_me.php Edited March 28, 2014 by roypiyas Quote Link to comment https://forums.phpfreaks.com/topic/287373-facing-problem-in-php-mail-to-function-need-help/ Share on other sites More sharing options...
mac_gyver Posted March 29, 2014 Share Posted March 29, 2014 (edited) see my reply at the following link, with the following differences - http://forums.phpfreaks.com/topic/287353-im-new-at-this-need-help-with-an-email-form/?p=1474276 1) ignore the removal of the @ error suppressor, your code isn't using it, but do everything else in item #1 and item #2 in that post. 2) in addition to the from: address NOT being the visitor's email address, the return-path: email address is certainly NOT the visitor's email address. the return-path: is where bounce/delivery error messages are sent to. you would want any bounce/delivery error messages to go to an actual mail box that you have access to at your web hosting. only the reply-to: address is the visitor's email address. Edited March 29, 2014 by mac_gyver Quote Link to comment https://forums.phpfreaks.com/topic/287373-facing-problem-in-php-mail-to-function-need-help/#findComment-1474372 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.