2.2.147.38 sendByMail

The sendByMail element specifies whether the form file or form template is attached to the e-mail generated by the e-mail data adapter as a control-specific MIME type.

Parent Elements

solutionDefinition

Attributes:

disableEmailForms: This attribute specifies the MIME type of the attached form file or form template. If this attribute is not present, its value MUST be interpreted as "no".

  • no: A form file MUST be attached as "application/x-microsoft-InfoPathForm" MIME type and a form template MUST be attached as an "application/x-microsoft-InfoPathFormTemplate" MIME Type.

  • yes: A form file or form template MUST be attached as a "text/xml" MIME type.

emailAttachmentType: This attribute MUST be ignored.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

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