"How do I send emails using ASP?"

Below is a simple example of using ASP to send an email.

<%@ language="VBScript" %>

<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="me@my-domain-name.com"
myMail.To="my-receipient@somewhere.com"
myMail.TextBody="This is a message."
myMail.Send
set myMail=nothing

Response.Write "Email has been sent"

%
>