maa has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
The question is a bit off topic as it's not Perl that seems to be causing my headache and you guys are a mine of useful nuggets...
I've written a mailbox monitor program in perl but I want to run it as a service. I have run other perl programs as service using Win32::Deamon and they're fine.
As this is email I'm using Win32::OLE to create either a MAPI.Session object or an Outlook.Application object depending on which straw I'm clutching at.
All the variations I've tried which run from the a console under my own context or under the service account's context (interactive) or even remotely using psexec (non-interactive) fail when I try to start them from Server Manager
They fail with 0x80040154 - "class not registered" for Outlook.Application and MAPI.Server
Does anyone know why or any workarounds for connecting to a MAPI store using a Windows NT Service Account? I've searched the web/usenet without much luck (other than install Exchange Sp2 - but I don't need/have Exchange)
Sorry for rambling... any help greatly appreciated.
--
Mark
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: [OT] MAPI.Session and NT Service Accounts
by FitTrend (Pilgrim) on Mar 03, 2005 at 16:18 UTC | |
by maa (Pilgrim) on Mar 04, 2005 at 07:37 UTC | |
|
Re: [OT] MAPI.Session and NT Service Accounts
by gellyfish (Monsignor) on Mar 03, 2005 at 16:28 UTC | |
|
Re: [OT] MAPI.Session and NT Service Accounts
by NetWallah (Canon) on Mar 03, 2005 at 16:50 UTC | |
by maa (Pilgrim) on Mar 03, 2005 at 19:42 UTC | |
|
Re: [OT] MAPI.Session and NT Service Accounts
by maa (Pilgrim) on Mar 03, 2005 at 19:38 UTC | |
|
Re: [OT] MAPI.Session and NT Service Accounts
by maa (Pilgrim) on Mar 04, 2005 at 09:07 UTC |