bcc Element

Microsoft Office InfoPath

Show All Show All

bcc Element

Contains information related to the BCC recipients of the e-mail message when the form is submitted using the emailAdapter element.

Type

xsd:complexType

Parent Elements

Element Description
emailAdapter Parent element that contains the information needed to submit a Microsoft Office InfoPath 2003 SP1 file as an attachment to an e-mail, with a specified set of recipients, a subject, and an introduction.

Child Elements

None.

Attributes

Attribute Type Required Description Possible Values
value xsd:string Yes Contains the value of the bcc element. string
valueType xsf:xdExpressionLiteral No Specifies whether the value attribute is interpreted as an XPath expression or as a literal string.
  • expression
  • literal

Definition

    <xsd:element name="bcc" minOccurs="0">
  <xsd:complexType>
    <xsd:attribute name="value" type="xsd:string" use="required"></xsd:attribute>
    <xsd:attribute name="valueType" type="xsf:xdExpressionLiteral" use="optional"></xsd:attribute>
  </xsd:complexType>
</xsd:element>

  

Remarks

If multiple addresses are specifed for the value of the bcc element, the addresses must be separated by semicolons.

Note  This item is not supported when the Disable Service Pack features option on the Advanced tab of the Options dialog box in InfoPath is selected or when Microsoft Office 2003 Editions Service Pack 1 or later is not installed. Any form defined by a form definition file (.xsf) that includes this item cannot be opened in InfoPath when service pack features are disabled or unavailable.

Example

The following is an example of the bcc element:

    <xsf:emailAdapter name="Submit" submitAllowed="yes">
 <xsf:to value="[email protected]" " valueType="literal"/>
 <xsf:cc value="my:ccNames" valueType="expression"/>
 <xsf:bcc value="[email protected]" valueType="literal"/>
 <xsf:subject value="My report" valueType="literal"/>
 <xsf:intro value="See below"/>
 <xsf:attachmentFileName value="Status Report" valueType="literal"/>
</xsf:emailAdapter>