EmailAdapter.AttachmentType property

Office 2013 and later

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

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

XdAttachmentType AttachmentType { get; set; }

Property value

Type: Microsoft.Office.Interop.InfoPath.SemiTrust.XdAttachmentType
An XdAttachmentType enumeration that specifies the kind of attachment.

Use the XdAttachmentType enumeration 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.