Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
sendByMail Element

sendByMail Element

Office 2007

Specifies extended information for forms sent by e-mail when using the Microsoft Office InfoPath form editor.

Usage


<sendByMail
	emailAttachmentType="xsd:emailAttachmentType"
	disableEmailForms="xsf:xdYesNo"
/>

Element Information

Element type xsd:complexType
Namespace xsf2

Elements and Attributes

Parent Elements

ElementDescription
solutionDefinitionRoot element for the elements defined in the xsf2 namespace. Specifies new properties and features that have been added to Microsoft Office InfoPath 2007 form templates.

Child Elements

None.

Attributes

AttributeTypeRequiredDescriptionPossible Values
emailAttachmentTypeemailAttachmentTypeOptionalSpecifies the type of file attachment to be sent when the e-mail submit data connection is invoked. Possible values are xml, xmlXsn, and none.

Note   This element or attribute is optional in the form definition file (.xsf) of a form template deployed as a browser-compatible form to a server running InfoPath Forms Services.
  • none
  • xml
  • xmlXsn
disableEmailFormsxdYesNoOptionalSpecifies whether to enable InfoPath e-mail form functionality for this form template.
  • yes
  • no

Definition


<xsd:element name="sendByMail">
   <xsd:complexType>
      <xsd:sequence />
      <xsd:attribute name="emailAttachmentType" type="xsd:emailAttachmentType" use="optional" />
      <xsd:attribute name="disableEmailForms" type="xsf:xdYesNo" use="optional" />
   </xsd:complexType>
</xsd:element>

Remarks

Note   This element or attribute is optional in the form definition file (.xsf) of a form template deployed as a browser-compatible form to a server running InfoPath Forms Services.



Community Additions

ADD
Show:
© 2015 Microsoft