Subject property
Collapse the table of content
Expand the table of content

EmailAdapter.Subject property

Office 2013 and later

Gets or sets the subject of the e-mail message associated with the specified EmailAdapterObject object.

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

string Subject { get; set; }

Property value

Type: System.String

Important noteImportant

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.

myEmailAdapter.Subject = "Weekly Status Report";
Show:
© 2016 Microsoft