MailEnvelope.EmailAttachmentType Property (Microsoft.Office.InfoPath)

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
'Usage
Dim instance As MailEnvelope
Dim value As EmailAttachmentType

value = instance.EmailAttachmentType

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

Property Value

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 Office InfoPath 2007.

See Also

Reference

MailEnvelope Class
MailEnvelope Members
Microsoft.Office.InfoPath Namespace