Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logon to Outlook

Status
Not open for further replies.

TrevJones

Programmer
Nov 20, 2000
37
GB
I need to write some vbscript to send mail using the logon method.
ie Set myNameSpace = myOut.GetNameSpace("MAPI")
myNameSpace.Logon "profile", "password", False, True

This works fine if it is set to display the logon dialog box, but if this is set to false, then I get the message that Outlook doesn't recognise the email address. The profile and the password parameters are correct, but I must be missing something. Any one have any ideas

Thanks
[morning]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top