Automating Outlook

  • Thread starter Thread starter Nigel Fairbank
  • Start date Start date
N

Nigel Fairbank

Hi:

In my application I wish to automate the sending of mail
via outlook 97. I therefore wish to log on using different
passwords and profiles.

In exposing the outlook object I find the
property .UserProperties.Session.Logon but cannot find the
correct combination to complete. The popup referes
to .UserProperties.Session.Logon([Profile], [Password],
[ShowDialog], [NewSession]) but when I
try .UserProperties.Session.Logon
("SomeName", "SomePassword", False, False) I get any error.

Any help would be greatly appreciated.

Thanks

Nigel
 
Back
Top