VB: Export in msg format

T

Thomas

Hello.

I wonder, if it´s possible to create an "msg" File out of a VB
Scripting project. Background: The script gets e-Mail messages via POP3
in different formats (HTML, Text only, with or w/o attachments ...) and
generates a workflow. At the end of this process, the mail should be
saved in an outlook mail format on the file system.

Are there any possiblities to do that?

Thanks.
Thomas
 
G

Guest

I'm assuming you're automating the Outlook Object Model? If so, just use
MailItem.SaveAS(3) '3 = olMsg
 
J

John

Be aware of the security warnings when saving email with a VB script.
In case the only action is SaveAs, you may lower that particular
security setting in Exchange.

Eric schreef:
 
G

Guest

You will not receive these security warnings in Outlook 2003 if your script
is in a non-one-off, published from and you derive all objects from the
intrinsic Application and Item objects.
 

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

Top