CDO: I try to use CDONTS and its not
working? <% oMail.From = "youraddress@yourdomain.com" oMail.To = "someone@someotherdomain.com" oMail.Subject = "Message Subject" oMail.textBody = "Text Body of your message" '==This section provides the configuration information for the remote SMTP server. '==Normally you will only change the server name or IP. oMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'Name or IP of Remote SMTP Server oMail.Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "mail.yourdomain.com" 'Server port (typically 25) oMail.Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 oMail.Configuration.Fields.Update '==End remote SMTP server configuration section== oMail.Send()
|
|