A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: , ,

Printing LOTS of emails





 
 
Thread Tools Display Modes
  #1  
Old April 9th 07, 03:40 AM posted to microsoft.public.outlook
Hank Youngerman
external usenet poster
 
Posts: 1
Default Printing LOTS of emails

I have to print a lot of emails - possibly several thousand.

I have a macro that sends them to the printer, but is there a way I
can read the contents and write them to a text file? I'd like them to
look as much as possible like the actual printed copies do.

It seems I MIGHT be able to open a text file, then write out the
relevant fields, like:

Open OutMail for output as 1
for each MailItem
a$ = mailitem.field1
if len(a$)0 then print #1,a$
a$=mailitem.field2
if len(a$)0 then print #1,a$
etc.
Print #1, "End of this mailitem"
next Mailitem
Close 1

Will this work? And what fields do I want to capture? I'm having
some trouble figuring that out. I don't need attachments, just
basically To and From, Title of the email, date sent, people on the CC
list, and the letter text.

TIA.

Ads
  #2  
Old April 9th 07, 07:07 AM posted to microsoft.public.outlook
squishy
external usenet poster
 
Posts: 17
Default Printing LOTS of emails

"Hank Youngerman" wrote in message
oups.com...
I have to print a lot of emails - possibly several thousand.

I have a macro that sends them to the printer, but is there a way I
can read the contents and write them to a text file? I'd like them to
look as much as possible like the actual printed copies do.

It seems I MIGHT be able to open a text file, then write out the
relevant fields, like:

Open OutMail for output as 1
for each MailItem
a$ = mailitem.field1
if len(a$)0 then print #1,a$
a$=mailitem.field2
if len(a$)0 then print #1,a$
etc.
Print #1, "End of this mailitem"
next Mailitem
Close 1

Will this work? And what fields do I want to capture? I'm having
some trouble figuring that out. I don't need attachments, just
basically To and From, Title of the email, date sent, people on the CC
list, and the letter text.

TIA.



Formatting them is going to be a bitch. - especially if you are looking for
the same format they came in and of some are HTML based instead of text
based.

Have you considered sending them to a PDF printer? This would be easily
readable (human readable) and would be searchable etc..

If you are simply wanting readable files from the emails, I suggest sending
the files to a PDF printer and "printing" each as a file (or printing them
all to one big PDF file). You can get a free PDF printer at
http://www.cutepdf.com/Products/CutePDF/writer.asp or
http://www.primopdf.com/.

If you are simply looking for the data, in Outlook go to FilesExportExport
as a file and choose Excel. Accept the defaults and you should get an
excel spreadsheet with all of the data in an easily searchable XLS document.

squishy


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OE6 Not printing emails Thrifty1 Outlook Express 2 April 11th 07 09:31 AM
Lots of emails, slowing down Outlook 2007 lrbtav Outlook - General Queries 2 April 6th 07 02:57 PM
Sending Lots of email TonySper Outlook Express 7 July 17th 06 04:28 AM
recovering lost file with lots of emails joeri Outlook Express 7 July 11th 06 03:31 PM
Bad Emails - Advanced Find (adding lots of entries) srm Outlook - General Queries 2 January 22nd 06 05:20 PM


All times are GMT +1. The time now is 08:02 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Free Advertising - Loans - Remortgages - Ringtone - Credit Cards