Sending e-mail from an ASP page

One way to send e-mail is to use Microsoft's CDONTS component NewMail. See Microsoft's documentation  of the NewMail object for details.

Here is a short example to help you get started:

Set objNewMail = CreateObject("CDONTS.NewMail")

objNewMail.Send "", "", "Hello",  "I sent this in 3 statements!", 0 ' low importance

Set objNewMail = Nothing ' can NOT reuse it for another message

Look also at your cgi-bin directory for other examples that implement this component (SimpleMail.asp, SendMail.asp).