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 and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

VB: Export in msg format



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 26th 06, 10:32 AM posted to microsoft.public.outlook.program_vba
Thomas
external usenet poster
 
Posts: 1
Default VB: Export in msg format

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

Ads
  #2  
Old September 26th 06, 07:50 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default VB: Export in msg format

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

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


"Thomas" wrote:

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


  #3  
Old September 29th 06, 10:54 AM posted to microsoft.public.outlook.program_vba
John
external usenet poster
 
Posts: 9
Default VB: Export in msg format

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

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


"Thomas" wrote:

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



  #4  
Old September 29th 06, 05:08 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default VB: Export in msg format

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.

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


"John" wrote:

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

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


"Thomas" wrote:

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




 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Save Email in MSG format LDMueller Outlook and VBA 6 June 13th 06 11:21 AM
How to import contacts in a .msg format? Blaine Outlook - Using Contacts 5 June 8th 06 01:02 AM
MSG File Format Bill R Outlook - General Queries 0 April 19th 06 05:34 PM
MSG file format Bill Reynen Outlook - General Queries 0 April 19th 06 05:13 PM
Correct .msg format amiga1200 Outlook and VBA 1 January 12th 06 04:07 PM


All times are GMT +1. The time now is 07:51 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.