By using the code attached to this article, with just a bit of configuration, you can send e-mails from your Web pages.
The e-mail application page that you create should be designed to contain the necessary e-mail fields:
- A "label from" control with text property initialized to your e-mail address or any other address to be used to indicate where the e-mail came from.
- Three textboxes one each for "textTo", "textSubject", and "textComments" controls.
- Two buttons, one for Sending mail and other for clearing the textboxes.
A note of caution: You can write any e-mail ID in this control. The e-mail will apeear to be sent from that ID, so you send mail to anyone from anyone else's e-mail ID. This is discouraged, and this is why it is best to not make your 'from' field an open entry field. Otherwise, people may use your form to send spam.
For my form, the page design looks like the page below: