Muokkaa

Jaa


sendEmailType Complex Type

Defines the action type used to specify that an email will be sent when a task executes. This type defines all the elements used to model the email message.

<xs:complexType name="sendEmailType">
    <xs:complexContent>
        <xs:extension
            base="actionBaseType"
        >
            <xs:all>
                <xs:element name="Server"
                    type="nonEmptyString"
                 />
                <xs:element name="Subject"
                    type="string"
                    minOccurs="0"
                 />
                <xs:element name="To"
                    type="string"
                    minOccurs="0"
                 />
                <xs:element name="Cc"
                    type="string"
                    minOccurs="0"
                 />
                <xs:element name="Bcc"
                    type="string"
                    minOccurs="0"
                 />
                <xs:element name="ReplyTo"
                    type="string"
                    minOccurs="0"
                 />
                <xs:element name="From"
                    type="string"
                    minOccurs="0"
                 />
                <xs:element name="HeaderFields"
                    type="headerFieldsType"
                    minOccurs="0"
                 />
                <xs:element name="Body"
                    type="string"
                    minOccurs="0"
                 />
                <xs:element name="Attachments"
                    type="attachmentsType"
                    minOccurs="0"
                 />
            </xs:all>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

Child elements

Element Type Description
Attachments attachmentsType Specifies a list of attachments in the email message.
Bcc string Specifies the email addresses used on the Bcc line of an email message.
Body string Specifies the text in the body of the email message.
Cc string Specifies the email addresses used on the Cc line of an email message.
From string Specifies the email address of the sender.
HeaderFields headerFieldsType Specifies the header fields and their values used in the header of the email message.
ReplyTo string Specifies the email addresses that are replied to in the email message.
Server nonEmptyString Specifies the email server used to send the email message.
Subject string Specifies the subject of the email message.
To string Specifies the email addresses to which the email will be sent.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]