--On Thursday, August 1, 2002 17:15 +0000 Tim Pierce <twp@rootsweb.com> wrote:
So you're using something like this?
<form method=post action="mailto:country-news-request@example.com?subject=subscribe">
Bingo! Well, there's a enctype="text/plain" in there too. ;)
That's pretty clever indeed. :-) If I were doing this I'd probably skip having them enter their e-mail address in a box at all. If they're submitting a mailto: URL, their browser will automatically put their return address (or whatever it thinks is their return address) in the From: header and probably the SMTP envelope too. SmartList should be able to get it from there.
Yes, but... That assumes several things. First of all, it assumes the browser puts a real return address in there. (Opera for instance has the option of obscuring your return address.) Secound, it assumes they are doing this from their own computer, not a computer at a library or something. Thirdly, it assumes they want to subscribe with whatever the browser assumes to be their 'default' address, and not some secondary address on their computer. Overall, those are probably good assumptions 90 percent of the time, but I'd like to at least be able to check them. If SmartList totally ignored the address from the box (but left it in the email), that would be a good secondary solution. (Checks are manual.) If SmartList could _correctly_ parse the email the browser is sending then the checks are automatic. Daniel T. Staal ------------------------------------------------------------------------ This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. ------------------------------------------------------------------------