Re: Export msg Files to Disk

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Ken Slovak - [MVP - Outlook] (kenslovak_at_mvps.org)
Date: 04/05/04


Date: Mon, 5 Apr 2004 08:34:24 -0400

In the OOM it would be MailItem.SaveAs <path>, olMsg '3

-- 
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"Siegfried Weber" <siegfriedcw@notmail.com> wrote in message
news:%23$NsPeoGEHA.2052@TK2MSFTNGP12.phx.gbl...
> JJ wrote:
> >
> > I have a requirement to automatically export .msg files
> > from a public folder to disk keeping the format .msg. When
> > I manually copy the files to disk, the file name is the
> > name of the subject with the .msg extension. I need a way
> > to duplicate that automatically on a nightly basis. Any
> > help in scripting, C++, etc. would be appreciated.
>
> I'm not sure if Outlook automation (Outlook object model) allows this. I
> believe you need to resort to Extended MAPI to accomplish that. In that
case
> you need to use C/C++ or Delphi because Extended MAPI cannot be scripted.
> Your best bet to get more information about Extended MAPI problems is to
> repost your question in microsoft.public.win32.programmer.messaging.
>
> -- 
> Cheers,
>
> Siegfried Weber
>
> If you want a smart answer, ask a smart question
> http://catb.org/~esr/faqs/smart-questions.html
>
> Why tables are bad: http://www.hotdesign.com/seybold/,
> http://webdesign.about.com/cs/tables/a/aa020800b.htm
>
> Note: Please do not send any e-mail to my old address
> sweber@cdolive.com because I am no longer connected with this
> organization.
>


Relevant Pages

  • Re: Text not appearing in a textbox for Outlook 2003 custom form
    ... You might also consider using Redemption, which wraps around Extended MAPI ... I suspect the issue is that Outlook 2003/Exchange 2003 add full Unicode ... > longer retrieve the data.). ... > interface pointer for an IMessage or IMAPIProp interface. ...
    (microsoft.public.outlook.program_forms)
  • Re: MailItem flags
    ... So, through trial-and-error, it appears that setting FlagIcon to something ... "No Categories (colored by Outlook 2003 Blue flag)". ... item when a flag and/or a reminder is set on it using a MAPI viewer such as ... Msg 1: ...
    (microsoft.public.outlook.program_vba)
  • Re: Is PR_SEARCH_KEY an acceptable substitute for PR_ENTRYID?
    ... Does OutsideIn handle named properties correctly when saving in the MSG ... If you have a contact or appointment saved, does Outlook display it Ok? ... LPDISPATCH pDispItems = folder.GetItems; ... each of which loads the PST and then calls ...
    (microsoft.public.win32.programmer.messaging)
  • Re: Text not appearing in a textbox for Outlook 2003 custom form
    ... I have Outlook Spy and when I click the IMessage ... longer retrieve the data.). ... interface pointer for an IMessage or IMAPIProp interface. ... The code uses ATL (CComDispatchDriver, CComBSTR, etc and extended MAPI. ...
    (microsoft.public.outlook.program_forms)
  • Re: Outlook COM object model not suitable for use in professional software?
    ... Thanks for the clarification Dmitry. ... The events are used by Outlook for the UI ... It does not matter whether you use OOM or Extended MAPI to process the ... You can still use events for synchronization, as long as they are used as ...
    (microsoft.public.outlook.program_vba)