Solved

Print emails with nested attachments in Outlook

Posted on 2010-09-22
7
563 Views
Last Modified: 2013-11-05
I've found code to print multiple emails with attachments. However, I also have a need to print out multiple emails with attachments which have attachments which have attachments which have attachments...(currently I have some up to 4 layers deep). I've downloaded MAPILab's Print Tool which seems to work OK but bombs out on these nested attachment emails.
Any code out there to help??
0
Comment
Question by:danthemanjr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 59

Expert Comment

by:Chris Bottomley
ID: 33736678
I presume you have emails within teh attachments and it is the emails that are nested?

Chris
0
 

Author Comment

by:danthemanjr
ID: 33736781
You are correct!
Example: Email contains 3 email attachments...open one, it contains 4 email attachments...open one of them and it contains 3 PDFs, DOC and JPG. I need to print all of the emails and their related attachments...preferably collated.
0
 
LVL 59

Expert Comment

by:Chris Bottomley
ID: 33736938
Hmmm

I think that will involve extracting each such email back into outlook in order to process them ... would that be an issue.

As for collated ... I guess they'll print as they come?

Chris
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

Author Comment

by:danthemanjr
ID: 33737160
That's what I've been doing so far, manually opening each email, printing it, then opening their respective attachments and printing them. Nothing to automate the process??
0
 
LVL 59

Expert Comment

by:Chris Bottomley
ID: 33737271
Yes it can be automated but as I say it will require each attachment to be saved in order to so:

Files into a work folder - temp folder
messages into an outlook folder

Chris
0
 

Author Comment

by:danthemanjr
ID: 33737919
That may be doable. What did you have in mind?
0
 
LVL 59

Accepted Solution

by:
Chris Bottomley earned 500 total points
ID: 33738019
Not sure yet but I would think create a folder in utlook for the extraction of emails ... and delete anything therein each time another run is made ... but need to consider how to control it though.

Chris
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question