in reply to Re: Save Sent mails from outlook to a drive in ".msg" format
in thread Save Sent mails from outlook to a drive in ".msg" format

hi chris,
The perl program must parse through the sent mail of ms outlook and save all the sent mail to a specific location on the computer. can u please help me on this.
  • Comment on Re^2: Save Sent mails from outlook to a drive in ".msg" format

Replies are listed 'Best First'.
Re^3: Save Sent mails from outlook to a drive in ".msg" format
by marto (Cardinal) on Jun 03, 2014 at 11:32 UTC
      but they are not saving it into ".msg" format.

        Had you read the thrad you'd see code which does most of what you want to do, of course you may have to slightly adapt what this is doing, since this is not a code writing service.

Re^3: Save Sent mails from outlook to a drive in ".msg" format
by taint (Chaplain) on Jun 03, 2014 at 11:34 UTC

    What have you tried so far? Can you show the Perl script you're working with, that isn't doing that doing that for you?

    You haven't given me anything to work with. I'm afraid I'm at a bit of a loss, w/o some Perl to work with.

    Best wishes.

    --Chris

    ¡λɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ꜱᴉɥʇ ədoH

      # create the object use Mail::Outlook; my $outlook = new Mail::Outlook(); # start with a folder my $outlook = new Mail::Outlook('Sent Items'); # use the Win32::OLE::Const definitions use Mail::Outlook; use Win32::OLE::Const 'Microsoft Outlook'; my $outlook = new Mail::Outlook(olFolderSentMail); # get/set the current folder my $folder = $outlook->folder(); my $folder = $outlook->folder('Sent Items');
      Infact i do not know how to proceed from here.