Which would look like this in VBScript:

dim msg
set msg=Server.CreateObject("CDONTS.NewMail")
msg.To="whoever@whoever.com"
msg.Subject="Thanks for your inquiry"
msg.Body="Your inquiry has been received. Thank you!"
msg.Send


-----Ursprungligt meddelande-----
Från: "Eric" echeeze@hotmail.com [mailto:"Eric" echeeze@hotmail.com]För
Eric
Anslaget den: den 14 november 2000 21:28
Anslaget i: asp
Konversation: Can ASP send an email confirmation through code?
Ämne: Re: Can ASP send an email confirmation through code?



Use the CDONTS component that ships with IIS.

var msg=Server.Create("CDONTS.NewMail");
msg.To="whoever@whoever.com";
msg.Subject="Thanks for your inquiry";
msg.Body="Your inquiry has been received. Thank you!"
msg.Send();


The other properties in the object are(and probably more):

Bcc
Cc

You may also attach files using the AttachFile(path,name) method.