p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_howto thread: RE: How to send email confirmation that contains info from the da


Message #1 by Shaun Steckley <SSTECKLEY@P...> on Tue, 13 Mar 2001 22:16:28 -0500
The body of the email is just a long string.  Create the string to your
format with vbscript, assign the value and send.  

-----Original Message-----
From: Orlando J. Rodriguez [mailto:orlando@i...]
Sent: Tuesday, March 13, 2001 4:53 PM
To: How To
Subject: How to send email confirmation that contains info from the
database


I'm currently using CDONTS and the NewMail object to send a simple email 
message and it works fine. However, I need to make the email more detailed 
by including information that is retrieved from the database. 

The application is used to place online orders. We need to return an email 
detailing what has been ordered. The functionality would be similar to a 
book order confirmation that one would receive from amazon.com. 

However, this information resides in the database and is retrieved using 
VBSCript. 

How do I get HTML & VBScript into the .body property of the NewMail 
object. Or, is there a better way of doing this. 

Sincerely,

Orlando Rodriguez



  Return to Index