Copying/Moving/Saving an Embedded/Attached Message to a Mail Folder

  • Thread starter Thread starter B
  • Start date Start date
B

B

Hello,

I receive mail where a message is embedded/attached*. Normally, I'd
open the (parent) message (in a folder other than Inbox) and drag the
attachment to a folder (also other than Inbox), then mark it as
Unread.

I'm trying to do this programmatically within Outlook 2003/VBA, but
seem to be at a loss.

The closest I can come is to save the attachment to a temporary file
and then try to import, but then all sorts of info is lost (timestamp,
etc.).

I also tried using CDO, but I seem to have trouble finding my way
around it...

Any ideas?

Thanks.



* ... because mail.com is being nasty after me having a hockeymail.com
account for 10+ years. They won't even let me PAY them for POP3
access, and Web2POP isn't working now ether, more ranting in private...
 
AFAIK, there's no way to directly take an embedded message (as an Attachment
object) and move it out of the message. You do have to save it as a .msg
file, but you'd also need to use Redemption (http://www.dimastr.com) to
import it - see the RDOSession.GetMessageFromMsgFile method.
 
Back
Top