Body Property
Collapse the table of content
Expand the table of content

EmailComposeTask.Body Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

'Declaration
Public Property Body As String
<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: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft