| DRS | |
| Help |
|
Applies to |
DRS (Module: wmDRS.dll) |
|
Group |
DRD |
|
See also |
Mails the document file or a reference file interactive or silent to the given recipient(s). Returns a boolean true if successful. In error case examine DRD error properties.
If mail is sent silent but recipient missing then the function returns false and a DRD error is triggered.
DRDMAILDOC <VariableName>[, <MailReference>][, <Recipients>][, <Subject>][, <MailBody>][, <Interactive>][, <DRDName>]
|
Part |
Description | |
| <VariableName> | Script variable to store result of the operation in. Result will be 0 or 1. 0=False (operation failed), 1=True (operation successfull) | |
| <MailReference> |
0|1 (optional) If 1 then a reference is sent rather than the document file itself. Default is 0. | |
| <Recipients> |
(optional) Recipient email address(es). Preceed an address with CC: or BCC: if you want to add recipients to the appropriate fields rather than TO:. If an empty string is provided default is EMail option from DRD. | |
| <Subject> |
(optional) Mail subject. If missing a default is generated (long document id). | |
| <MailBody> |
(optional) Mail body text. If missing a default is generated containing main information (document id, application and documenttype if available). | |
| <Interactive> |
1|0 (optional) Flag if mail should be opened and displayed to the user before sending. If 1 (which is the default) then mail is displayed otherwise it is sent silently. | |
| <DRDName> | DRD key. | |
|
| ||