sendEmailType 复杂类型

定义用于指定执行任务时将发送电子邮件的操作类型。 此类型定义用于为电子邮件建模的所有元素。

<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>

子元素

元素 类型 说明
Attachments attachmentsType 指定电子邮件中的附件列表。
密件抄送 string 指定电子邮件的密件抄送行上使用的电子邮件地址。
正文 string 指定电子邮件正文中的文本。
Cc string 指定电子邮件的“抄送”行上使用的电子邮件地址。
string 指定发件人的电子邮件地址。
HeaderFields headerFieldsType 指定电子邮件标头中使用的标头字段及其值。
ReplyTo string 指定在电子邮件中答复的电子邮件地址。
服务器 nonEmptyString 指定用于发送电子邮件的电子邮件服务器。
使用者 string 指定电子邮件的主题。
string 指定电子邮件将发送到的电子邮件地址。

要求

要求
最低受支持的客户端
Windows Vista [仅限桌面应用]
最低受支持的服务器
Windows Server 2008 [仅限桌面应用]