Jump to content

facing problem in PHP mail to () function... NEED HELP


roypiyas

Recommended Posts

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 by roypiyas
Link to comment
Share on other sites

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 by mac_gyver
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.