Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / July 2009

Tip: Looking for answers? Try searching our database.

How to get RFC822 format message from the MailItem object.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sandeep K - 27 Jul 2009 13:07 GMT
Hi All,
I want to send email content from the email in outlook 2007 and 2003 to some
server in rfc822 format but i am not able to get even complete message from
MailItem object. Can someone help me to find out how can i create rfc822
format compliant email message from MailItem object.
Sandeep K - 28 Jul 2009 07:58 GMT
I have not seen any answer to my email so let me give more details on the
problem. My requirement is to post complete content of email to some server.
Now this server accepts messages in RFC822 format which is std email format.
I have not found any API to get complete message content. Can i at least get
that or I have to live with retrieving subject, body and headers separately.

> Hi All,
> I want to send email content from the email in outlook 2007 and 2003 to some
> server in rfc822 format but i am not able to get even complete message from
> MailItem object. Can someone help me to find out how can i create rfc822
> format compliant email message from MailItem object.
Ken Slovak - [MVP - Outlook] - 28 Jul 2009 14:08 GMT
Are you using the Redemption library at all? That has an option to save
messages in RFC822 format. You would use the RDOMail.SaveAs() method with an
olRFC822 argument.

Signature

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 have not seen any answer to my email so let me give more details on the
> problem. My requirement is to post complete content of email to some
[quoted text clipped - 13 lines]
>> MailItem object. Can someone help me to find out how can i create rfc822
>> format compliant email message from MailItem object.
Sandeep K - 29 Jul 2009 07:49 GMT
No I am not using Redemption library. I am developing VSTO 2005 SE Add-in in
C#.

> Are you using the Redemption library at all? That has an option to save
> messages in RFC822 format. You would use the RDOMail.SaveAs() method with an
[quoted text clipped - 17 lines]
> >> MailItem object. Can someone help me to find out how can i create rfc822
> >> format compliant email message from MailItem object.
Ken Slovak - [MVP - Outlook] - 29 Jul 2009 15:15 GMT
Other than brute force that's the only way I know to do what you want.

Signature

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

> No I am not using Redemption library. I am developing VSTO 2005 SE Add-in
> in
> C#.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.