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
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