Knowledgebase: ASP .NET / ASP
CDOSYS Parameters that work for sending mail
Posted by - NA - on 08 November 2009 11:56 PM
Related documents:
  1. CDONTS to CDOSYS (on webdeveloper dot com)
  2. CDOSYS Sample Script
  3. Send a mail from .NET
CDONTS is both old and deprecated. Convert CDONTS to CDOSYS.

.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "localhost"
.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 10
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "user@domain.com"
.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "PASSWORD"

Mix and match into a script to get it to work.
(119 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).