Forum Moderators: open

Message Too Old, No Replies

Email Extract from HTML email

Script to be able to extract an email address from HTML email and store it

         

rughead

11:39 pm on Dec 19, 2003 (gmt 0)



I have currently made a html email that has a form withinit, so the user can just submit the results. They are then sent to the recipient using a perl script. Is there any way that I can capture the address of the user when they submit the results? Instead of providing a box for them to input there email address.

Would be very greatful for any help.

Purple Martin

5:35 am on Dec 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just to clarify - are you sending them the form in an HTML email? If so you already know their email address when you send it to them.

In this situation you can put their email address in a hidden field in the form before you send it to them. When they submit the form, the data (email adress) in the hidden field gets sent in the same way as the data they've entered in the visible fields.