Mad_Phil
Sep 10th, 2001, 07:06 PM
Hi there, I am try read mail from an exchange server (using CDO) which is on a separate domain to the one I log onto. If my 2 domain passwords are the same this works fine. But when the password is changed on the exchange domain, I am confronted with the outlook profile logon window (I want to logon automatically so this program can process my mail at night).
I have been trying to use the LogonUser api to return to me a token with the security context of my exchange domain user, hopefully then allowing my program to run under that token and allowing me to connect to exchange and read my mail.
Unfortunatly I cannot get the LogonUser api to work going across 2 domains.
Has anyone done this? or knows of some network setting that I need to switch on?
Thanks
:confused:
I have been trying to use the LogonUser api to return to me a token with the security context of my exchange domain user, hopefully then allowing my program to run under that token and allowing me to connect to exchange and read my mail.
Unfortunatly I cannot get the LogonUser api to work going across 2 domains.
Has anyone done this? or knows of some network setting that I need to switch on?
Thanks
:confused: