2.5.7.3 Email Action

If present,<34> this field contains the specification of an email action.

 <!-- SendEmail -->
 <xs:complexType name="sendEmailType">
    <xs:complexContent>
       <xs:extension base="actionBaseType">
          <xs:all>
              <xs:element name="Server" type="nonEmptyString"/>
              <xs:element name="Subject" type="xs:string" minOccurs="0"/>
              <xs:element name="To" type="xs:string" minOccurs="0"/>
              <xs:element name="Cc" type="xs:string" minOccurs="0"/>
              <xs:element name="Bcc" type="xs:string" minOccurs="0"/>
              <xs:element name="ReplyTo" type="xs:string" minOccurs="0"/>
              <xs:element name="From" type="xs:string" minOccurs="0"/>
              <xs:element name="HeaderFields" type="headerFieldsType" 
              minOccurs="0"/>
              <xs:element name="Body" type="xs:string" minOccurs="0"/>
              <xs:element name="Attachments" type="attachmentsType" 
              minOccurs="0"/>
          </xs:all>
       </xs:extension>
    </xs:complexContent>
 </xs:complexType>
 <xs:complexType name="headerFieldsType">
    <xs:sequence>
       <xs:element name="HeaderField" type="headerFieldType" 
       minOccurs="0" maxOccurs="32"/>
    </xs:sequence>
 </xs:complexType>
 <xs:complexType name="headerFieldType">
    <xs:all>
       <xs:element name="Name" type="nonEmptyString"/>
       <xs:element name="Value" type="xs:string"/>
    </xs:all>
 </xs:complexType>
 <xs:complexType name="attachmentsType">
    <xs:sequence>
       <xs:element name="File" type="nonEmptyString" minOccurs="0" 
       maxOccurs="8"/>
    </xs:sequence>
 </xs:complexType>

Server: This field is present and contains the email server Domain Name System (DNS) name.

Subject: If this field is present, it contains the Subject of the email message.

To: If this field is present, it contains the email addresses. The addresses are fully qualified, and multiple addresses are semicolon-delimited.

CC: If this field is present, it contains the carbon copy email addresses. The addresses are fully qualified, and multiple addresses are semicolon-delimited.

BCC: If this field is present, it contains the blind carbon copy email addresses. The addresses are fully qualified, and multiple addresses are semicolon-delimited.

Note At least one of To, CC, or BCC are required for a fully-formed email.

ReplyTo: If this field is present, it contains the reply email address.

From: This field is not optional. It contains the from email address.

HeaderFields: If present, this field contains strings to be included in the email header as Name and Value subfields. The field contains between 0 and 32 (inclusive) header strings.

Body: If this field is present, it contains the email body text.

Attachment: If present, this field contains between 0 and 8 (inclusive) Name subfields, specifying a file or list of files to be attached to the email. Each subfield can contain a fully qualified path name for absolute location. If a path name is unqualified, the working directory can be assumed.