Partager via


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)

Syntax

'Declaration
Public Enumeration EmailAttachmentType
'Usage
Dim instance As EmailAttachmentType
public enum EmailAttachmentType

Members

Member name Description
None No file will be attached. Only the form view will be sent as the e-mail message body.
Xml The attachment is a form file (.xml).
XmlXsn The attachment is a form file (.xml) along with its associated form template file (.xsn).

Remarks

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.

See Also

Reference

Microsoft.Office.InfoPath Namespace