Click or drag to resize

CEmail.AddAttachment Method

X#
Adds an attachment to the email.

Namespace:  VO
Assembly:  VOInternetClasses (in VOInternetClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD AddAttachment(
	cFullPath,
	cContentType,
	dwEncodeType,
	cContentID,
	cFilename
) AS USUAL CLIPPER
Request Example View Source

Parameters

cFullPath (Optional)
Type: Usual
The file to attach to the email
cContentType (Optional)
Type: Usual
The content type to use. The default is 'application/octet-stream'
dwEncodeType (Optional)
Type: Usual
The Encoding to use. The default is
cContentID (Optional)
Type: Usual
** missing parameter documentation **
cFilename (Optional)
Type: Usual
The filename to use in the message body. The default is the name of the file itself.

Return Value

Type: Usual
TRUE if successful; otherwise, FALSE.
See Also