EmailAdapter Members

Include Protected Members
Include Inherited Members

This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeEmailAdapterObject.

The EmailAdapter type exposes the following members.

Properties

  Name Description
Public property AttachmentFileName Gets or sets the file name to be used for the current form when the form is attached to the e-mail message of an EmailAdapterObject object.
Public property AttachmentType Gets or sets the type of file to be attached to the e-mail message submitted with an EmailAdapter object.
Public property BCC Gets or sets the BCC recipients of an e-mail message associated with an EmailAdapterObject object.
Public property CC Gets or sets the carbon copy (CC) recipients for the e-mail message associated with an EmailAdapterObject object.
Public property Intro Gets or sets the introduction in the body of the e-mail message for an EmailAdapterObject object.
Public property Name Gets the name of the EmailAdapterObject object.
Public property QueryAllowed Gets a value that always returns false, corresponding to the queryAllowed attribute in the form definition file (.xsf).
Public property Subject Gets or sets the subject of the e-mail message associated with the specified EmailAdapterObject object.
Public property SubmitAllowed Gets a value that is always true, corresponding to the submitAllowed attribute in the form definition file (.xsf).
Public property To Gets or sets the recipients for the e-mail message associated with a specified EmailAdapterObject object.

Top

Methods

  Name Description
Public method Query The Query method is available for the EmailAdapterObject object but, because the EmailAdapter object is available for submitting data only, the method will always generate a run-time error when it is called.
Public method Submit Executes the submit operation on the associated adapter.
Public method SubmitData Submits the specified DOM element or DOM document to a data adapter.

Top

See Also

Reference

EmailAdapter Interface

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace