Save Email as .eml

  • Thread starter Thread starter MeAndI
  • Start date Start date
M

MeAndI

Hi to all,

I'm a new developer of VBA application and I think you will help me.
I need to create a VBA macro wich:

when new mail is detected
move it in another folder (e.g. myFolder)
if in the subject string is present a defined string
save the mail item as eml or mht

Is this possible? if yes, please help
thanks
 
Outlook doesn't have any functionality to save as eml or mht. Depending on
the message format, you can save as txt, rtf, msg, oft or htm.
 
<plug>
Redemption (url in my sig.) supports export/import to/from EML files - see
SafeMailItem.SaveAs(..., olRFC822) and SafeMailItem.Import()
</plug>

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top