LazyMAPI

TMsgBody - represents a message text(body)

Unit: MAPIMessages.pas
Type: Class
Inherited from: TObject

Properties

Name Access Type Description MAPI Reference
Plain RW WideString Get/Set Message body as Plain text. PR_BODY
RTF RW AnsiString Get/Set Message body as RTF. PR_RTF_COMPRESSED
HTML RW WideString Get/Set Message body as HTML. PR_HTML
Codepage RW ULONG Get/Set Message Internet CodePage. On Get property first check for PR_INTERNET_CPID, if it not exists returns PR_MESSAGE_CODEPAGE. On Set assign value to PR_INTERNET_CPID PR_MESSAGE_CODEPAGE, PR_INTERNET_CPID
NativeBodyType RO TMsgBodyType Indicates the best available format of the message body. Microsoft Exchange Server specific. PR_NATIVE_BODY_INFO
BestBodyType RO TTMsgBodyType Return Best Body type for visualization. Property check for existence of PR_NATIVE_BODY_INFO, if it not exists implements an internal algorithm recommended form Microsoft.  PR_NATIVE_BODY_INFO, PR_BODY, PR_RTF_COMPRESSED, PR_HTML

Methods

Name Description
SaveToStream Save Message body to TStream.
LoadFromStream Load (set) Message body from TStream.

Top


Copyright © 2012 IMIBO
Privacy Statement