Adds an attachment to the current NewMailMessage object.
Syntax
Add(FilePath As String, [Name As String]) As IASMailAttachment
Name | Description |
---|---|
FilePath |
The path of the file to attach to the current NewMailMessage object. |
Name |
Optional name of the attachment. |