How to convert a MailItem to MIME

H

Hans Schmidt

Hello,

i want to ask if there is a possibility to convert a MailItem to MIME?

If this is possible is there a way to attach this MIME to a new Mail
without latching it on the hdd.


Greets Hans
 
K

Ken Slovak - [MVP - Outlook]

The Extended MAPI IConverterSession is used for that (C++ or Delphi only).
You'd pass that an IMessage object. You have to know Extended MAPI though.

Redemption (www.dimastr.com/redemption) has an RDOMail object you can get
from a MailItem and then use RDOMail.SaveAs(olRFC822) to save it as a MIME
file. That would be saved in the file system. You'd need to use the file
system anyway.
 
H

Hans Schmidt

As i forget to mention that it is a C# i will use Redemption.
Thank you very much for your answer.


The Extended MAPI IConverterSession is used for that (C++ or Delphi only).
You'd pass that an IMessage object. You have to know Extended MAPI though.

Redemption (www.dimastr.com/redemption) has an RDOMail object you can get
from a MailItem and then use RDOMail.SaveAs(olRFC822) to save it as a MIME
file. That would be saved in the file system. You'd need to use the file
system anyway.

--
Ken Slovak
[MVP - Outlook]http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.http://www.slovaktech.com/products.htm


i want to ask if there is a possibility to convert a MailItem to MIME?
If this is possible is there a way to attach this MIME to a new Mail
without latching it on the hdd.
Greets Hans
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top