in reply to MAPI & Windows 2000 Service Daemon

The way I understand it, you are looking to "run as user" so that you can access the correct MAPI account?? And in addition you are looking to run as a daemon?? Look at "srvany.exe". This will allow you to start your program as a service, as well as run as user name.

In addition, using the Windows Scripting Host with PerlScript allows you to schedule the task to run as a user.

In addition, you get a nifty little Win2k utility called, oddly enough, "runas". C:\> runas nobody perl myscript.pl

~Hammy