jackmn1 Posted August 8, 2010 Share Posted August 8, 2010 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 Quote Link to comment Share on other sites More sharing options...
phil88 Posted August 8, 2010 Share Posted August 8, 2010 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. Quote Link to comment Share on other sites More sharing options...
jackmn1 Posted August 8, 2010 Author Share Posted August 8, 2010 I appreciate your answer Phil. The form is using Post and the server doesn't save the info to db. I can only hope the client will contact again. Thank you. Quote Link to comment 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.