EmailComposeTask.To Property

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

Gets or sets the recipients on the To line 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 Property To As String
public string To { get; set; }
<object To="string" .../>

Property Value

Type: System..::.String
Type: String. The recipients on the To line of the new email message.


This property follows the RFC specification for email addresses. Do not use a comma to delimit multiple addresses. The following are some examples of properly formatted addresses.

“Display Name” <>
“Display Name1” <>; “Display Name 2” <>;;

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


EmailComposeTask Class

Microsoft.Phone.Tasks Namespace

Other Resources

Launchers and Choosers for Windows Phone 8

How to use the email compose task for Windows Phone 8