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?
 
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
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.