Does this involve Exchange server?
Outlook is not suitable for running in a service or unattended. It's not
supported for that. For server side things like that you would really be
better off using an Exchange programming technique such as EWS or WebDAV or
whatever depending on your Exchange version, or Extended MAPI code, or a
MAPI wrapper library such as Redemption (
www.dimastr.com/redemption), or
even server-side CDO (again depending on an Exchange version).
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"SHu" <(E-Mail Removed)> wrote in message
news:0BA4EE39-0427-43C3-900B-(E-Mail Removed)...
> Hi all,
>
> I'm new to developing for Office and Outlook (I come from a Lotus Notes
> developing environment).
>
> I have some generic email inboxes that different clients would use to send
> their attachments to. What I need is to find a way to write a
> script/macro
> that would perform saving of the attachments on all new incoming emails.
>
> I found a sample code that I could use to get what I want:
> http://msdn.microsoft.com/en-us/library/ms268754.aspx
>
> My question is... Can this code run on the server side for the generic
> emails (there are 6 of them) that I want it on, or do all 6 client inboxes
> need to be running in order for this to work?