A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to get RFC822 format message from the MailItem object.



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 27th 09, 01:07 PM posted to microsoft.public.outlook.program_addins
Sandeep K
external usenet poster
 
Posts: 3
Default How to get RFC822 format message from the MailItem object.

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.
  #2  
Old July 28th 09, 07:58 AM posted to microsoft.public.outlook.program_addins
Sandeep K[_2_]
external usenet poster
 
Posts: 13
Default How to get RFC822 format message from the MailItem object.


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.

"Sandeep K" wrote:

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.

  #3  
Old July 28th 09, 02:08 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to get RFC822 format message from the MailItem object.

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.

--
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


"Sandeep K" wrote in message
news

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.

"Sandeep K" wrote:

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.


  #4  
Old July 29th 09, 07:49 AM posted to microsoft.public.outlook.program_addins
Sandeep K[_2_]
external usenet poster
 
Posts: 13
Default How to get RFC822 format message from the MailItem object.

No I am not using Redemption library. I am developing VSTO 2005 SE Add-in in
C#.

"Ken Slovak - [MVP - Outlook]" wrote:

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.

--
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


"Sandeep K" wrote in message
news

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.

"Sandeep K" wrote:

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.



  #5  
Old July 29th 09, 03:15 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to get RFC822 format message from the MailItem object.

Other than brute force that's the only way I know to do what you want.

--
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


"Sandeep K" wrote in message
...
No I am not using Redemption library. I am developing VSTO 2005 SE Add-in
in
C#.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert a RFC822 (.eml) file to Outlook format (.msg) Dave Outlook - Using Forms 1 October 17th 08 07:59 PM
Problem with Object Reference for MailItem alexcraig Outlook and VBA 3 January 6th 08 10:08 PM
How does Outlook 2003 handle the MIME type message/rfc822? [email protected] Outlook - General Queries 0 March 13th 07 03:18 PM
How does Outlook 2003 handle the MIME type message/rfc822? [email protected] Outlook - General Queries 0 March 13th 07 01:22 PM
Help with 'MailItem' object of WordMail Inspector [email protected] Add-ins for Outlook 2 May 18th 06 07:28 PM


All times are GMT +1. The time now is 12:34 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.