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

Sandeep K

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

Ken Slovak - [MVP - Outlook]

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

Sandeep K

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.


>
 
K

Ken Slovak - [MVP - Outlook]

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.
Thread starter Similar threads Forum Replies Date
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
P Outlook send invitation in rtf-format instead of html-format Using Outlook 20
F Text Format Change - Bulk Edit Contact Notes Using Outlook 2
O desactivate TNEF format in Journaling message -Exchange 2010 Exchange Server Administration 1
B want to change the calendar format so that it goes from left to right Sunday - Saturday instead of monday - sunday Using Outlook 2
H Correct e-mail address format in address book in GAL Exchange Server Administration 3
M Is the Format of Receiving Email by 'Office Outlook' Different from that Sent by 'Outlook Express' ?? Using Outlook 3
M Outlook Mail Format Options - Grayed out 2003 office/outlook in exchange 2007 mail organisation. Using Outlook 3
A No Stationery Picker button on Mail Format tab in Outlook 2007 Using Outlook 3
K Missing Format and Picture Tools tabs in Outlook 2007 Using Outlook 1
B Cannot send emails. Format suddenly changed. Using Outlook 5
Similar threads


















































Top