submitAllowed Attribute (emailAdapter Element)

Specifies whether the adapter can be used for submitting to the data source.

Type

  xsf:xdYesNo

Parent Elements

Element Description
emailAdapter Contains the information needed to submit an InfoPath form as an attachment to an e-mail message, with a specified set of recipients, a subject, and an introduction.

Definition

  <xsd:attribute name="submitAllowed" type="xsf:xdYesNo" use="optional"></xsd:attribute>

Remarks

The value of the submitAllowed attribute is always set to "yes" for the emailAdapter element.

Example

The following is an example of the submitAllowed attribute as it is used in the emailAdapter element:

  <xsf:emailAdapter name="Submit" submitAllowed="yes">
 <xsf:to value="someone@example.com" valueType="literal"/>
 <xsf:cc value="my:ccNames" valueType="expression"/>
 <xsf:bcc value="someoneelse@example.com" valueType="literal"/>
 <xsf:subject value="My report" valueType="literal"/>
 <xsf:intro value="See below"/>
 <xsf:attachmentFileName value="Status Report" valueType="literal"/>
</xsf:emailAdapter>