Click or drag to resize

CStorage.AttachmentOpen Method

X#
This method is called during sending of an email, if an attachment have to be sent. It prepares the loading process from the storage. In our case it addresses the attachment file and opens it.

Namespace:  VO
Assembly:  VOInternetClasses (in VOInternetClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD AttachmentOpen(
	cAttachID AS STRING,
	 dwCode AS DWORD
) AS LOGIC
Request Example View Source

Parameters

cAttachID
Type: String
Contains the ID or the full path of the attachment.
dwCode
Type: DWord
Contains the coding type. It can be one of the following values:
  • CODING_TYPE_7BIT
  • CODING_TYPE_8BIT
  • CODING_TYPE_BASE64
  • CODING_TYPE_NONE
  • CODING_TYPE_PRINTABLE
  • CODING_TYPE_UNKNOWN
  • CODING_TYPE_UUENCODE
In most cases it is CODING_TYPE_BASE64 and only this type is implemented in the CStorage class.

Return Value

Type: Logic
LOGIC TRUE when the attachment could be opened successfully.
See Also