andyhaywood
Programmer
I have a problem where I can't logon to the users current Outlook session through Internet Explorer 6. I've got the following test script:
email = new ActiveXObject( "MAPI.SESSION" );
email.Logon( "", "", false, false );
alert (email.CurrentUser);
I have tried running the same code (but VBScript) outside of IE and it works fine but when run from a browser it fails. No error is generated but the CurrentUser is blank and you then get errors if you try to do anything else (such as attempt to access the Inbox). Does anyone know of any security settings in IE (or outlook?) that will deny access to the current email session.
Any help would be much appreciated!!
Thanks.
email = new ActiveXObject( "MAPI.SESSION" );
email.Logon( "", "", false, false );
alert (email.CurrentUser);
I have tried running the same code (but VBScript) outside of IE and it works fine but when run from a browser it fails. No error is generated but the CurrentUser is blank and you then get errors if you try to do anything else (such as attempt to access the Inbox). Does anyone know of any security settings in IE (or outlook?) that will deny access to the current email session.
Any help would be much appreciated!!
Thanks.