|
|
|
|
|
EmailLoadAttachment (Function) In french: EmailChargeFichierAttaché Adds an attached file to an email.
// Add a file into the attachments of an email MyMessage is Email EmailLoadAttachment(MyMessage, ... SysDir(srMyDocuments) + ["\"] + "Yearly Report.pdf") Syntax
<Result> = EmailLoadAttachment(<Email> , <File name and path>)
<Result>: Integer - Rank of the file in the array of attached files (Email.Attach variable),
- -1 if an error occurred. To get more details on the error, use ErrorInfo.
<Email>: Email variable Name of the Email variable to which the file must be attached. <File name and path>: Character string Name and full (or relative) path of the file to attach. A UNC path can be used. You can use wildcard characters ("*" or "?").
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|