This topic has not yet been rated - Rate this topic

EmailComposeTask.Body Property

Windows Phone

March 22, 2012

Gets or sets the body of the new email message.

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
public string Body { get; set; }
<object Body="string" .../>

Property Value

Type: System.String
Type: String. The body of the new email message.

The Body property does not support HTML formatting. If the content assigned to the Body property happens to work with the codepage that maps to the current locale settings for the device, it will be sent using that codepage.  If the codepage mapped to the current locale setting cannot render the content, UTF-8 encoding will be used. 

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Did you find this helpful?
(1500 characters remaining)