<% Set objEmail = Server.CreateObject("CDONTS.NewMail") 'Create an object for the component with ProgID CDONTS.NewMail objEmail.From = "fromemail@yourserver.com" 'Enter the address of who the email will be sent from. objEmail.To = "toemail@yourserver.com" 'Enter the address of who the email will be sent to. objEmail.Subject = "Test e-mail from ASP" 'Enter the subject of your email. objEmail.Body = "The body of the email." 'Enter the Body of the email. objEmail.BodyFormat = 1 '1 = plain text, 2 = HTML 'This tells what type of format the email will be sent in. objEmail.MailFormat = 1 '1 = text message, 0 = MIME Formatted 'This tell if the email will be just plain text of if it is in HTML or if any attachments will be sent with the email. objEmail.Importance = 2 '0 = low, 1 = normal, 2 = high importance 'This tells what level of importance or priority the email will be sent in. objEmail.Send 'Send the email. Set objEmail = Nothing %>