CDOSYS is part of the System.Web.Mail namespace and is installed by default on Windows 2000 and Windows XP platforms. It replaces CDONTS for sending SMTP email messages and can be used with our IIS 6 and IIS 7 Windows hosting accounts. The following code sample demonstrates how to create, format, and send email.
The server relay-hosting.secureserver.net
is used to send email from your hosted domain. You must populate the SmtpMail object's SmtpServer property with this value. Our shared hosting servers allow for email attachments up to 30 MB.
For more information about CDOSYS, see MSDN.
Our mail server will not send email containing a "From:" header entry of aol, gmail, yahoo, hotmail, live, aim, or msn.