export attached file from a mailbox via pop or mapi and copy it to server share

Hello,

i have a mailbox in my exchange server. i receive many email with attached report file csv and excel file.

i need a script or other way to copy this attached file to a server share and delete email.

thanks
cawasakiAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Robberbaron (robr)Connect With a Mentor Commented:
what version of exchange are you using ? recent ones dont allow access via ExOLEDB which is what I used to use with VBS.
 
Now use C# for EX2008 but powershell will work for that i understand (not my strong point).

i get a lot of ideas from Glen Scales  http://gsexdev.blogspot.com

this goes some way.. http://gsexdev.blogspot.com.au/2013/03/removing-attachments-of-specific-type.html in that it finds PDF files and save them.
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Why dont you simply have a PST created in network share and then have a rule to move these emails to that PST.

- Rancy
0
 
cawasakiAuthor Commented:
hi,
because i need only the attached file, this attached file is used by other application.
0
Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
So are you looking that some program or something can directly have the email as .MSG to some location ?

- Rancy
0
 
cawasakiAuthor Commented:
hi,

what i need is a programm-script connect to the mailbox, and get for exemple a copy of all attached file with .csv extension and depost it to shared location.

thanks
0
 
AmitIT ArchitectCommented:
0
 
cawasakiAuthor Commented:
hi,

thanks for help, but i need an automated way, i need a script to do this that i can use in scheduled task
0
 
AmitIT ArchitectCommented:
In that case, you need to purchase the paid version for this product.

http://www.outlookfreeware.com/en/products/all/OutlookAttachmentsSave/
0
All Courses

From novice to tech pro — start learning today.