Frank, The script merely displays the default contents of the Outlook inbox belonging to the current NT user logged onto the server. In this case it will be the System user, or whichever user you have your ColdFusion service running under. I haven't actually tried entering user/pass into the objNameSpace.logon parameter, but I'm guessing this will probably enable you to choose which NT account to use. This would in turn determine the default inbox, either via Exchange server (if in use) or purely via the NT login account (providing that account has been used on the server and that there are emails corresponding to that account).
If you are hoping to achieve what I think you're hoping to achieve, which is to simply display the local user's inbox contents in the browser, then you should take a look at http://support.microsoft.com/default.aspx?scid=kb;EN-US;q281618 which gives details on using the Outlook Viewer Control. This is all done using the html <object> tag and some code samples have been provided at the above link. If, however you have any further problems with this, let me know. HTH, Dave -----Original Message----- From: Frank Mamone [mailto:[EMAIL PROTECTED]] Sent: 24 April 2002 14:12 To: CF-Talk Subject: Re: CFCOMET/Outlook Hi Dave, We have Outlook on the server. What I don't understand is in the view messages(headers) page. How does the script know who's messages to retrieve if there is no login specified? I'm missing something very basic here:( Thanks ----- Original Message ----- From: "Dave Wilson" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, April 24, 2002 6:46 AM Subject: RE: CFCOMET/Outlook > Hi, > > I just did this yesterday and it works just fine. You actually need to make > a small modification to the viewmessage.cfm code if you're running win NT or > 2k. Simply add in the following line, immediately after declaring > objNameSpace: > > > objNameSpace.Logon("", "", False, False); > > Remember you must also have Outlook installed on the server and have a valid > inbox collecting mail from a valid email account in order for the cfcomet > example to work. > > HTH, > Dave > > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists