Automate saving of attachments on new incoming emails

Status
Not open for further replies.
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?
 
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).

"SHu" <SHu> wrote in message

news:0BA4EE39-0427-43C3-900B-66A6E15DB40F@microsoft.com...
> 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?
 
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?
wrote:


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

> >

>

> "SHu" <SHu> wrote in message
> news:0BA4EE39-0427-43C3-900B-66A6E15DB40F@microsoft.com...
> > 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?


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

"SHu" <SHu> wrote in message

news:4F82E5E0-5B25-4201-9BC2-ABB3A962BE2F@microsoft.com...
> 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?
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
M Outlook macro to automate search and forward process Outlook VBA and Custom Forms 6
S automate save the .xlxs file to share Network Using Outlook 1
P Automate Outlook Start - No Active Explorer Object Found Using Outlook 10
C Further automate several tasks with rule, VBA or Quick Step Using Outlook 1
K Automate permamnent delete after x days with exceptions Using Outlook 1
O automate dates in outlook template Using Outlook 1
T Automate Outlook 2010 Using Outlook 4
S How to automate showing the Public Folder Calender to Mail Favorite folder Using Outlook 0
S CSCANPST To Automate Running SCANPST.EXE Using Outlook 1
J OL2003 Macro disables itself - looking for way to automate 'enable' Using Outlook 2
B automate email message on Outlook Calendar notification alerts? Outlook VBA and Custom Forms 1
S automate outlook stationary Outlook VBA and Custom Forms 1
Q Automate Outlook profiles for imaging Using Outlook 2
Q Automate BCM backup? BCM (Business Contact Manager) 1
Rupert Dragwater Background colors not saving in Outlook 365 Using Outlook 15
R Saving Emails and Attachments as .msg file Using Outlook 3
CWM550 Saving Data: Don't check certain folders Using Outlook 2
M Saving emails using Visual Basic - Selecting folder with msoFileDialogFolderPicker Outlook VBA and Custom Forms 6
D Outlook 2016 Outlook not saving Sent Items Using Outlook 4
I Error saving screenshots in a custom form in outlook 2016, outlook 365 - ok in outlook 2013, outlook 2010 Outlook VBA and Custom Forms 5
I Saving attachments from multiple emails and updating file name Outlook VBA and Custom Forms 0
M Adding Subject to this Link-Saving VBA Outlook VBA and Custom Forms 5
L Attachment saving and tracking - PLEASE help! Outlook VBA and Custom Forms 5
D Saving Selected Emails as PDF and saving Attachments Outlook VBA and Custom Forms 6
B Saving items under a folder Using Outlook 3
R Quick Access view in File Explorer when saving attachments Using Outlook 0
N Saving And Deleting Outlook Attachments with Unknown Error Message Outlook VBA and Custom Forms 1
V Saving attachment from outlook in My Documents Outlook VBA and Custom Forms 14
M Dialog called up multiple times when saving emails from macro Outlook VBA and Custom Forms 2
A saving attachement to folder named the same as rule name Outlook VBA and Custom Forms 0
T Saving all email to file folder in Windows Using Outlook 2
J Saving attachments from specific sender (phone number) to specific folder on hard drive Using Outlook 3
C Saving Outlook attachments and links to attachments with VBA Outlook VBA and Custom Forms 2
Kevin H Remotely saving emails Using Outlook 1
R Outlook 2010 Modify Style "Do not check spelling or grammar" not saving Outlook VBA and Custom Forms 0
R Outlook Office 365 not saving addresses Using Outlook 0
A Keep color categories when saving vCards Using Outlook 1
P Saving All Messages to the Hard Drive Using VBA Outlook VBA and Custom Forms 5
e_a_g_l_e_p_i question about saving my .pst so I can import it to my Outlook after I build a new system Using Outlook 10
S Editing an email with notes and saving it for record using Macro Outlook VBA and Custom Forms 3
O Saving Attachments to folder on disk and adding Initials to end of file name Outlook VBA and Custom Forms 9
J Outlook 2013 crashes saving VBA & clicking tools | digital signature Outlook VBA and Custom Forms 1
bifjamod Saving sent email to specific folder based on category with wildcard Outlook VBA and Custom Forms 1
N Saving .msg as sent item on send Outlook VBA and Custom Forms 1
erichamion Changes to meeting body not properly saving Outlook VBA and Custom Forms 4
A ItemAdd on Imap Folder get endless loop after saving item Using Outlook 5
T Saving Outlook 2010 email with attachments but read the email without Outlook Using Outlook 2
T From Field Blank when saving to folder other than Sent items Using Outlook 2
L Outlook DST (Daylight Saving Time) problem Using Outlook 0
F Using Outlook 2007 as an IMAP Mail Station Without Saving Data Locally Using Outlook 2

Similar threads

Back
Top