|
||
| Inside Technique : Sending E-Mail from ASP : Addressing your Message The NewMail object serves a single purpose, to provide a quick and easy interface to send e-mail. To keep the usage of the object simple, all the properties on the NewMail object are write-only. This means that all you can do is set the properties. Also, the object is designed for a single use - once a message is mailed, the object must be released by setting it to nothing or assigned to a new message object. For example, to quickly send three different personalized messages, you create three instances
of the NewMail object:
You can also send a single e-mail message to multiple recipients as well as copy and
blind copy recipients. To, CC, and BCC properties are exposed that correlate directly to
the same fields in most e-mail programs. Below we send a mail message to
3 recipients, copy another, and finally blind copy one person. When you blind copy a user
no other recipient knows they exist nor are replies sent to the BCC'ed person.
One of the popular questions we receive is how do you send HTML-based e-mail messages? Next we show you how to format your mail messages as HTML and then we conclude with how to include images with the e-mail message. Page 1:Sending E-Mail from ASP © 1997-2000 InsideDHTML.com, LLC. All rights reserved. |