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

Parameters

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

Return Value

This method returns the total count of files attached.

See Also

AddAttachment Method
AddInline Method
ImportHtml
ImportMailEx

Online Examples

VB6- Send Email with Attachment
VB6 - Send Email with Embedded Images
Delphi - Send Email with Attachment
Delphi - Send Email with Embedded Images
Visual C++ - Send Email with Attachment
Visual C++ - Send Email with Embedded Images