Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Break down .eml files
#1
What's the best way to break down .eml files programattically into sender, subject, body...etc.

I'm sure somewhere on here already has this coded out, so any help would be appreciated because I'm feeling a bit lazy.
#2
Macro
Code:
Copy      Help
MailBee.Message m._create
m.ImportFromFile(_s.expandpath("$desktop$\test.eml"))
str subj=m.Subject
str body=m.BodyText ;;AltBodyText gets text without html
out subj
out body
#3
MailBee help file
http://www.quickmacros.com/com/MailBee.chm

When opening first time, uncheck 'always ask ...', or Windows will not allow you to see it. Maybe this is only on Vista.
#4
Help file won't work for me. I already tried that the other day. Doesn't load properly.(oh uncheck "always ask..." misread, sorry.)

could you help me get that to run code for all the .eml files in a directory?

Thanks so much!
Jimmy VIg
#5
Probably you can use the same MailBee.Message variable (m) for all files.

When downloading, click Save, not Open. Then run the saved file and uncheck 'always ask...'.

Also attached the help file here in zip format.


Attached Files
.zip   MailBee.zip (Size: 423.43 KB / Downloads: 272)
#6
Gintaras,

Thanks, this is a useful example. Neverthless, I am wondering whether you could obtain relevant e-mail information from within the folders of Outlook Express. I understand you can select and save an e-mail from within OE folders into a file's system folder and then to proceed, but it would have been smarter if this could be an one-step action from within OE.

Many thanks
#7
Getting and managing Outlook Express messages and folders
#8
Dear Gintaras,

Many thanks indeed, excellent work.

Regards

Simos

PS. Many thanks for 2.3.0.5 too.


Forum Jump:


Users browsing this thread: 1 Guest(s)