Data

The Data property sets or gets the content data. 

Settings and Return Values

Sets or returns a Variant of subtype String if the Content Type is text based (text/*) or a Variant of subtype Array of Byte if the data is binary. 

Remarks

The Data property cannot be set if the URL property is set.

Example

Mail.Contents("Body").Type = "text/html"
Mail.Contents("Body").Data = "Hello<BR>What's the weather like today?<BR>Regards,<BR>John<BR>"
Mail.Contents("Body").TransferEncoding = "quoted-printable"

Applies To

Content Object

See Also

URL, Type, TransferEncoding



©2001-2015 eMill. All trademarks property of their owners.