The FileAttachments property specifies the name and path of file attachments.
object.FileAttachments[= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to a SendMailTask object |
| value | File specifications of attachments |
String
Read/write
HRESULT GetFileAttachments(BSTR *pRetVal);
HRESULT SetFileAttachments(BSTR NewValue);
Multiple attachment file specifications are separated by semicolons.