|
 |
asp_cdo thread: CDO and NTLM authentication
Message #1 by jnehring@s... on Tue, 9 Oct 2001 20:29:30
|
|
Supposedly with CDOSYS you can connect to an SMTP server using NTLM. I
have successfully sent mail using Basic authentication using the following:
With Flds
' assume constants are defined within script file
.Item(cdoSendUsingMethod) = 2 ' cdoSendUsingPort
.Item(cdoSMTPServer) = "smtp.mydomain.com"
.Item(cdoSMTPConnectionTimeout) = 10 ' quick timeout
.Item(cdoSMTPAuthenticate) = cdoBASIC
.Item(cdoSendUserName) = "mydomain\myuser"
.Item(cdoSendPassword) = "mypassword"
.Item(cdoURLGetLatestVersion) = True
.Update
End With
What needs to be set and on which server(asp host or smtp server) to get
cdoNTLM to work as the authentication method? All the servers in our
environment are Win2K. Any help would be greatly appreciated.
Jon
Message #2 by "Siegfried Weber" <sweber@c...> on Wed, 17 Oct 2001 04:37:48 +0200
|
|
Change:
> .Item(cdoSMTPAuthenticate) = cdoBASIC
To:
> .Item(cdoSMTPAuthenticate) = cdoNTLM
and make sure your SMTP Server is configured to allow NTLM/Integrated
Windows Authentication.
<Siegfried />
> -----Original Message-----
> From: jnehring@s... [mailto:jnehring@s...]
> Sent: Tuesday, October 09, 2001 10:30 PM
> To: ASP CDO
> Subject: [asp_cdo] CDO and NTLM authentication
>
> Supposedly with CDOSYS you can connect to an SMTP server using NTLM. I
> have successfully sent mail using Basic authentication using the
> following:
>
> With Flds
> ' assume constants are defined within script file
> .Item(cdoSendUsingMethod) =3D 2 ' cdoSendUsingPort
> .Item(cdoSMTPServer) =3D "smtp.mydomain.com"
> .Item(cdoSMTPConnectionTimeout) =3D 10 ' quick timeout
> .Item(cdoSMTPAuthenticate) =3D cdoBASIC
> .Item(cdoSendUserName) =3D "mydomain\myuser"
> .Item(cdoSendPassword) =3D "mypassword"
> .Item(cdoURLGetLatestVersion) =3D True
> .Update
> End With
>
> What needs to be set and on which server(asp host or smtp server) to
get
> cdoNTLM to work as the authentication method? All the servers in our
> environment are Win2K. Any help would be greatly appreciated.
>
> Jon
>
|
|
 |