AltMessageBody Property

<< Click to Display Table of Contents >>

Navigation:  Reference > MailMessage >

AltMessageBody Property

 

AltMessageBody property specifies alternative text-only body of e-mail message.

 

Syntax

 

[Visual Basic]


objMailMessage.AltMessageBody = "Testing, testing, testing..."

 

[VBScript]


objMailMessage.AltMessageBody = "Testing, testing, testing..."

 

[C#]


objMailMessage.AltMessageBody = "Testing, testing, testing...";

 

[C++]


HRESULT get_AltMessageBody(BSTR*);

HRESULT put_AltMessageBody(BSTR);

 

spMailMessage->PutAltMessageBody("Testing, testing, testing...");

 

 

Remarks

 

AltMessageBody specifies alternative plain-text version of HTML message. AltMessageBody will be displayed if e-mail client does not support HTML e-mail messages. Default value of AltMessageBody property is an empty string.