Error On SaveAs RTF

Add-in Express™ Support Service
That's what is more important than anything else

Error On SaveAs RTF
Martin Mizzell



I am getting an exception when using the 3.02 Premium to save a mail item in Outlook as an RTF file.

mail.SaveAs("C:\\testFile.rtf", Outlook.OlSaveAsType.olRTF);

This code throws an invalid argument exception. Can anyone else re-produce the same issue?

Posted 23 Jan, 2007 16:09:01 Top
Sergey Grischenko

Add-in Express team

Posts: 7233
Joined: 2004-07-05
Hi Martin.

It means that you use the wrong format for an Outlook item.
Try to use olHTML or olTXT.

P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.

Posted 24 Jan, 2007 08:02:26 Top