<mailAsAttachment>
(Merged Document To E-Mail Attachment)
This element specifies that, after importing external data into fields to generate a series of destination WordprocessingML documents as e-mails, the resulting documents should be emailed as an attachment rather than the body of the actual e-mail.
If this element is omitted, then its value shall be assumed to be false
(i.e. the destination source is not an e-mail attachment). If the <destination>
element (§2.14.11) specifies that the merged document destination is not email
, then this element shall be ignored.
<w:mailMerge> … <w:destination w:val="email" /> <w:mailAsAttachment /> … </w:mailMerge>
After the external data has been imported into the merged document's respective merge fields, three emails will be generated (as specified by the <destination>
element (§2.14.11) with a @val
attribute of email
, each an attachment consisting of one of the three documents resulting from the mail merge result (rather than just including the merged document as the body of the email). ]
Parent Elements |
---|
|
Attributes |
Description |
---|---|
|
Specifies a binary value for the property defined by the parent XML element. A value of A value of <w:… w:val="off"/> The The possible values for this attribute are defined by the ST_OnOff simple type (§2.18.67). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_OnOff">
<attribute name="val" type="ST_OnOff"/>
</complexType>