• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Emailing Forms

There’s another way to handle form data if you don’t want to do any CGI programming; and because many readers of this book don’t, I’ll take a look at this other technique here. You can have the data in a form emailed to you if you set the ACTION attribute to a mailto: URL.

Here’s an example. In this case, I’ll email a form’s data to steve@starpowder.com (a fictitious email address). Note also that I set the ENCTYPE attribute—the MIME encoding of the form’s data—to “text/plain”:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint