Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Outlook 2003 with richedit

Status
Not open for further replies.

jberube

Programmer
Oct 10, 2001
6
0
0
US
Here is a snippet of code that i have been using with Outlook 2000 with no problems - when we switched to Outlook 2003, outlook no longer displays the message in rich test format. has anyone else had this problem with Outlook 2003 ??

TempStream := TMemoryStream.Create;
wwDBRichEdit1.Lines.SaveToStream(TempStream);
TempStream.Position := 0;
TempStream.Read(astring,TempStream.Size);
TempStream.Free;
MailItem1.Body := StrPas(astring);
MailItem1.Display(wsNormal);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top