|
||
| Inside Technique : Sending E-Mail from ASP The CDONTS NewMail object is a very easy way to add e-mail capabilities to your ASP web-pages. We use this object when we want to automate e-mail from our server (eg., our Find Lost Password page). In this article, we introduce you to the NewMail object. Sending e-mail with the NewMail object is very simple. Below we construct
and send an e-mail message to a fictitious e-mail address:
The above script is a verbose way to specify your message. You can shrink the above
code down to 4 lines by specifying all the e-mail arguments directly in the Send()
method.
Next we explain how to send the same e-mail to multiple recipients or to send personalized e-mail messages. Page 1:Sending E-Mail from ASP © 1997-2000 InsideDHTML.com, LLC. All rights reserved. |