Sample CDOSYS Email Script

Below is a sample script you can copy and paste in order to test CDOSYS functionality:

Dim MyMail
Set MyMail = CreateObject("CDO.Message")
MyMail.From = ""
MyMail.To = ""
MyMail.Subject = "Test message using CDOSYS"
MyMail.TextBody ="This is a test email message" & vbcrlf & "sent with CDOSYS"
Set MyMail= nothing
Response.Write("Your e-mail has been sent")

© 2015 Rackspace US, Inc.

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License

See license specifics and DISCLAIMER