EmailSubmitConnection.EmailAttachmentType property

Office 2013 and later

Gets or sets the type of file to be attached to the e-mail message submitted with an EmailSubmitConnection object.

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

public abstract EmailAttachmentType EmailAttachmentType { get; set; }

Property value

Type: Microsoft.Office.InfoPath.EmailAttachmentType
An EmailAttachmentType object that specifies the type of file attached to the e-mail message.

Use EmailAttachmentType to specify the type of file attached to the e-mail message, which can be a form file (.xml), a form file (.xml) along with a form template file (.xsn), or no file.

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.

This type or member can be accessed from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.