How to get RFC822 format message from the MailItem object.

Status
Not open for further replies.
S

Sandeep K

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

"Sandeep K" <SandeepK> wrote in message

news:D3B99D05-D08E-4C84-9515-1D75FE91204A@microsoft.com...

> 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.
 
No I am not using Redemption library. I am developing VSTO 2005 SE Add-in in

C#.
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.

> >

>

> "Sandeep K" <SandeepK> wrote in message
> news:D3B99D05-D08E-4C84-9515-1D75FE91204A@microsoft.com...
> > 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.


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

"Sandeep K" <SandeepK> wrote in message

news:50BF62BB-71AE-48A6-B9DF-E6E44DDA9F3B@microsoft.com...
> No I am not using Redemption library. I am developing VSTO 2005 SE Add-in
> in
> C#.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
e_a_g_l_e_p_i MY Outlook 2021 changed the format of the shortcuts for mail, calendar etc. Using Outlook 10
M Outlook Macro to save as Email with a file name format : Date_Timestamp_Sender initial_Email subject Outlook VBA and Custom Forms 0
R How to prevent corrupted Notes format in Calendar and Contacts Using Outlook 0
S Combination Field (Date Format) Outlook VBA and Custom Forms 0
L Format Lost between Tasks and To Do Using Outlook 0
P Outlook 2016 Change Paste Special Default Format Using Outlook 8
S Format Inbox Using Outlook 0
P Short Date Format when typing in a task Using Outlook 2
D Outlook 2016 64bit, Cannot Save in 'HTML', format Using Outlook 1
K Need to convert .mmf file to .pst format Outlook VBA and Custom Forms 7
C Outlook 2016 Conditional Format for User Defined Field Using Outlook 1
C Export NSF Lotus Notes files in Outlook PST format? Using Outlook 1
L Time format in Outlook calendar and emails Using Outlook 0
Y Outlook Task View - Table Format - Customize Reminder Time to Drop-Down Selection Using Outlook 2
T How to Export mailbox from Outlook 2019 to MBOX format? Using Outlook 1
J What is the best EntryID format to set on MS Access table Outlook VBA and Custom Forms 3
e_a_g_l_e_p_i Is there a way to add something that is in the "Format Text" tab to the "basic Text" on the message tab Using Outlook 1
E Outlook 2010 Can somebody tell me , the question associated with OST format Using Outlook 1
Witzker Correct Format of custom Yes/No Checkboxes Outlook VBA and Custom Forms 0
M font format discrepancies with Quick Parts Using Outlook 1
S Email Format With Embedded Images and Tables Change Using Outlook 2
G How to filter by the format of an email address Using Outlook 6
T Format Reading Pane Outlook VBA and Custom Forms 5
R Lost PST files after format Using Outlook 6
J Outlook 2013 how to convert 2013 OST file into an another format, i m using outlook 2013 versions. Using Outlook 1
fitzgerald Lost PST files after format - how to recover deleted files? Using Outlook 3
Dr. Demento Outlook output to array -> Excel & re-format Using Outlook 2
P Outlook 2010: Missing tab - "Format/Picture Tools" HELP! Using Outlook 3
skylark53 Loss of default format on deleting signature Using Outlook 5
O Setting default format for composing/replying to emails Using Outlook 3
divan VbaProject: Changing email format Using Outlook 15
O VBA to change message format and add formatted signature Outlook VBA and Custom Forms 1
divan Macro to format email in a certain folder then forward to email address Using Outlook 3
M Macro to Format certain words in email message Outlook VBA and Custom Forms 5
J Format change when dragging from email to Task Using Outlook 1
P Outlook 2013 Phone Number Format Using Outlook 0
R How to format text within appointment/meeting body? Using Outlook 6
L Excel table format lost in Outlook Using Outlook 6
M Email Format getting changed to Plain Text Using Outlook 1
H Disaster. Management wants to change email format. Exchange Server Administration 9
G Outlook 2013: Getting meeting invites in OWA format Using Outlook 9
S Change answer format Using Outlook 1
R printing custom number of calendar days in weekly view format Using Outlook 1
D outlook 2010 table format lost on send Using Outlook 1
M Save embedded image in native format Using Outlook 6
P Template format not preserved Using Outlook 3
R NUMBER Format Using Outlook 0
M Mail in HTML format can't be sent if url or number is in the body Outlook 2010 Using Outlook 2
B Changing Calendar format Using Outlook 1
M How can I send a Task Request using vCalender/vTodo format using C# Using Outlook 3

Similar threads

Back
Top