Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / September 2006

Tip: Looking for answers? Try searching our database.

VB: Export in msg format

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Thomas - 26 Sep 2006 09:32 GMT
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
Eric Legault [MVP - Outlook] - 26 Sep 2006 18:50 GMT
I'm assuming you're automating the Outlook Object Model?  If so, just use
MailItem.SaveAS(3) '3 = olMsg

Signature

Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/

> Hello.
>
[quoted text clipped - 8 lines]
> Thanks.
> Thomas
John - 29 Sep 2006 09:54 GMT
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:

> I'm assuming you're automating the Outlook Object Model?  If so, just use
> MailItem.SaveAS(3) '3 = olMsg
[quoted text clipped - 17 lines]
> > Thanks.
> > Thomas
Eric Legault [MVP - Outlook] - 29 Sep 2006 16:08 GMT
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.

Signature

Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/

> 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
[quoted text clipped - 23 lines]
> > > Thanks.
> > > Thomas
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.