Share via


EmailAdapter.Subject Property

InfoPath Developer Reference

Returns or sets a string that represents the subject of the e-mail message associated with the specified EmailAdapter object. Read/write

Version Information
 Version Added:  InfoPath 2003

Syntax

expression.Subject

expression   An expression that returns a EmailAdapter object.

Return Value
String

Remarks

Security Level 2: 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.

Example

This example shows how to use the Subject property of an instance of the EmailAdapter object to change the subject of the e-mail message before the EmailAdapter object is submitted:

JScript
  objEmailAdapter.Subject = "Weekly Status Report";

See Also