Share via


MailEnvelope.EmailAttachmentType Property

Gets or sets the type of file to be attached to the e-mail message.

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

Syntax

'Declaration
Public MustOverride Property EmailAttachmentType As EmailAttachmentType
    Get
    Set
'Usage
Dim instance As MailEnvelope
Dim value As EmailAttachmentType

value = instance.EmailAttachmentType

instance.EmailAttachmentType = value
public abstract EmailAttachmentType EmailAttachmentType { get; set; }

Property Value

Type: Microsoft.Office.InfoPath.EmailAttachmentType
An EmailAttachmentType.

Remarks

Set to EmailAttachmentType.Xml to send only the form file (.xml). Set to EmailAttachmentType.XmlXsn to send the form file (.xml) along with its associated form template file (.xsn).

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.

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

See Also

Reference

MailEnvelope Class

MailEnvelope Members

Microsoft.Office.InfoPath Namespace