EmailAttachmentType Enumeration
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

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