Jump to content

retrieve user email after email sent


jackmn1

Recommended Posts

Hi,

 

I have setup a standard contact form that sends an email using php "mail" function in my new website.

Today, I received an email from a potential client through my website. However, unfortunately, I did not receive the user's email address because (as I discovered after wards), there was a syntax problem in the function, so all I received is their name and message.

I am certain that the user has entered their email address because the form has validation, it just didn't send me the address so I have no way to contact that client...

Is there a way to retrieve the lost email address from the server somehow?

 

Thanks in advance

Link to comment
Share on other sites

If the form used GET instead of POST to send the form (quite unlikely) you'll probably be able to get the email address from apache's access log (assuming your server is apache)

 

If the script saves the info to a database (quite unlikely) you could get it from there.

 

 

 

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.