Automate saving of attachments on new incoming emails

S

SHu

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?
 
K

Ken Slovak - [MVP - Outlook]

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).
 
S

SHu

Hi Ken,

Thanks for your response.

Actually, we are accessing Outlook in a Cloud environment and thus is not
hosted by our company. I guess i will have to get in touch with the company
that is hosting this then?
 
K

Ken Slovak - [MVP - Outlook]

I would, and see what they make available to you for that sort of thing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top