Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
EmailAttachmentType Enumeration
Collapse the table of content
Expand the table of content

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.

© 2015 Microsoft