EmailAdapter.To Property
Gets or sets the recipients for the e-mail message associated with a specified EmailAdapterObject object.
Namespace: Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)
Syntax
'Declaration
Property To As String
Get
Set
'Usage
Dim instance As EmailAdapter
Dim value As String
value = instance.To
instance.To = value
string To { get; set; }
Property Value
Type: System.String
Remarks
The value must be a semicolon-delimited string that can be resolved into a list of valid e-mail addresses by the user's e-mail client.
Important
This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.
Examples
myEmailAdapter.To = "list@example.com";