in reply to Perl + email = Help
There is absolutely no relationship between HTTP and mail. There's no magical way of finding out the email address from someone posting a form - just as there isn't a magical way of finding the email address of a person calling you.
How could there? Some people have upteen email addresses. Others don't have any. And how is the form going to know who sits in front of the screen anyway? People do share computers and browsers (think for instance of the boots in malls and airports). Only way to get a return address is to ask the user - and hope they don't lie.
And just be very very glad there's no automatic way of harvesting email addresses via web forms. Otherwise, your amount of spam would tenfold.
Abigail
|
|---|