2.2.51 emailAdapter
The emailAdapter element specifies the information needed to submit the form as an attachment to an e-mail with a specified set of recipients, subject, and an introduction. The e-mail MUST have a set of recipients specified by the to, cc, or bcc elements.
Parent Elements |
---|
Child Elements |
---|
Attributes:
name: This attribute specifies the name of the data adapter. The specified name MUST be unique for all data adapters within the form template
queryAllowed: This attribute specifies whether the data adapter is allowed to query for data. This attribute MUST be set to "no".
submitAllowed: This attribute specifies whether the data adapter is allowed to submit data via e-mail. This attribute MUST be set to "yes".
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.
-
<xsd:element name="emailAdapter"> <xsd:complexType> <xsd:all> <xsd:element name="to" minOccurs="0"> <xsd:complexType> <xsd:attribute name="value" type="xsd:string" use="required"/> <xsd:attribute name="valueType" type="xsf:xdExpressionLiteral" use="optional"/> </xsd:complexType> </xsd:element> <xsd:element name="cc" minOccurs="0"> <xsd:complexType> <xsd:attribute name="value" type="xsd:string" use="required"/> <xsd:attribute name="valueType" type="xsf:xdExpressionLiteral" use="optional"/> </xsd:complexType> </xsd:element> <xsd:element name="bcc" minOccurs="0"> <xsd:complexType> <xsd:attribute name="value" type="xsd:string" use="required"/> <xsd:attribute name="valueType" type="xsf:xdExpressionLiteral" use="optional"/> </xsd:complexType> </xsd:element> <xsd:element name="subject" minOccurs="0"> <xsd:complexType> <xsd:attribute name="value" type="xsd:string" use="required"/> <xsd:attribute name="valueType" type="xsf:xdExpressionLiteral" use="optional"/> </xsd:complexType> </xsd:element> <xsd:element name="intro" minOccurs="0"> <xsd:complexType> <xsd:attribute name="value" type="xsd:string" use="required"/> </xsd:complexType> </xsd:element> <xsd:element name="attachmentFileName" minOccurs="0"> <xsd:complexType> <xsd:attribute name="value" type="xsd:string" use="required"/> <xsd:attribute name="valueType" type="xsf:xdExpressionLiteral" use="optional"/> </xsd:complexType> </xsd:element> </xsd:all> <xsd:attribute name="name" type="xsf:xdTitle" use="required"/> <xsd:attribute name="queryAllowed" type="xsf:xdYesNo" use="optional"/> <xsd:attribute name="submitAllowed" type="xsf:xdYesNo" use="optional"/> </xsd:complexType> </xsd:element>