EmailAttachmentType Enumeration
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

EmailAttachmentType Enumeration

Specifies the type of form files attached to an e-mail message.

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

public enum EmailAttachmentType

Member nameDescription
NoneNo file will be attached. Only the form view will be sent as the e-mail message body.
XmlThe attachment is a form file (.xml).
XmlXsnThe attachment is a form file (.xml) along with its associated form template file (.xsn).

Use the EmailAttachmentType to specify the EmailAttachmentType property of the EmailSubmitConnection class and the EmailAttachmentType property of the MailEnvelope class.

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

© 2016 Microsoft