Share via


EmailSubmitConnection.EmailAttachmentType Property (Microsoft.Office.InfoPath)

Gets or sets the type of file to be attached to the e-mail message submitted with an EmailSubmitConnection object.

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 EmailSubmitConnection
Dim value As EmailAttachmentType

value = instance.EmailAttachmentType

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

Property Value

An EmailAttachmentType object that specifies the type of file attached to the e-mail message.

Remarks

Use EmailAttachmentType to specify the type of file attached to the e-mail message, which can be a form file (.xml), a form file (.xml) along with a form template file (.xsn), or no file.

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 from code running in forms opened in Microsoft Office InfoPath 2007 or in a Web browser.

See Also

Reference

EmailSubmitConnection Class
EmailSubmitConnection Members
Microsoft.Office.InfoPath Namespace