Im using CDO to send mails out of a wsf script.
For a long time I used successfull SMTP port 25 with cdo/configuration/smtpauthenticate = 2 for authentication.
Then , due to security reasons, my service provider, closed port 25 and asked me to use port 587 instead.
I changed the port to 584 in my script and kept 2 for authentication but was not anymore able to send mails due to authentication errors. Note : I have not changed password, username, etc. The provider's support just didn't know what I am talking aboutand couldn't help.
I spent many frustrating hours of research in all kind of forums. It always boild down to the fact that the documented values of authentication where 0= NONE, 1=Basic (Base64 encoded) and 2=NTLM I tried all these values with the same negative result. I almost gave up.
However I started to get traces info of another type of authentication called something like TSL, but no hint if and how CDO authentication would support it. By instinct I used the next (unknown) value of 3 for authentication and now everything works !!!!
objMessage.Configuration.Fields.Item _
(...... schemas/microsoft.com/cdo/configuration/smtpauthenticate") = 3
Can anyone tell me what type of authentiction is 3 ?
Regards
Peter