PC Review


Reply
Thread Tools Rate Thread

Re: Outlook rule to "run a script" on shared mailbox

 
 
Michael Bednarek
Guest
Posts: n/a
 
      17th Apr 2012
On Mon, 16 Apr 2012 22:52:01 +0100, Chris Bode wrote in
microsoft.public.outlook.program_vba:

>I have a need to execute some SQL Stored Procedures based on the
>contents of email messages being delivered to a shared mailbox. I've
>written code and attached it to "ThisOutlookSession" and it works like a
>charm. The issue I'm running into is in creating a rule to run this code
>when messages from a specific recipient are delivered to this shared
>mailbox. I've created an Outlook profile with only this mailbox and
>created a rule, but it doesn't fire when I try to run it on the messages
>in the inbox, which definitely meet the rule's criteria.
>
>Is there maybe a better way to go about this? Ideally, a server-based
>solution not requiring Outlook to be running would be fantastic. If a
>server-based rule could save those messages to a watched network folder,
>and spawn some other process to perform the SQL updates, that'd work,
>too, but I don't think that's possible.
>
>Any pointers would be most appreciated...


A shared mailbox is just like any other mailbox, only many people can
access it, right? Well, that's how our shared mailboxes are set up.

I don't quite follow your description about what's working and what's
not working under what circumstances. If code fires and runs when it is
part of your ThisOutlookSession but doesn't run when the shared mailbox
is logged in and has the code attached to its ThisOutlookSession, then
the conditions to fire the code are not being met, or something really
weird is going on. You also forgot to mention which version of Outlook
and Exchange you are dealing with.

Have you researched Exchange server-side scripting? Exchange Web
Services (EWS)? CDO message sinks?

--
Michael Bednarek, Brisbane "ONWARD"
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
getting mail in personal mailbox from shared mailbox =?Utf-8?B?UGhpbA==?= Microsoft Outlook Discussion 0 21st Feb 2007 06:07 PM
Create rule in shared mailbox =?Utf-8?B?c2dy?= Microsoft Outlook Discussion 3 28th Nov 2006 02:27 PM
OL20003: Rule for shared mailbox Herm Microsoft Outlook Discussion 6 26th Jan 2006 02:33 PM
Running a rule on a 'shared' mailbox =?Utf-8?B?Q2hyaXMgSGFnb24=?= Microsoft Outlook Discussion 1 13th Jul 2005 12:50 PM
Shared Mailbox vs Public Mailbox Mark Microsoft Outlook Contacts 1 15th Dec 2003 05:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:51 AM.