AddAttachments Method

Attach all files in specified directory to current email.

[Syntax]
Visual C++: HRESULT AddAttachments( BSTR sPath, long* pVal )
Visual Basic: AddAttachments( sPath As String ) As Long

Parameter:

sPath

Directory path in which all files are to be attached to current email.

Return Values

This method returns the total count of files attached.

See Also

ClearAttachment Method