CStorage.AttachmentOpen Method | |
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.19
Syntax VIRTUAL METHOD AttachmentOpen(
cAttachID AS STRING,
dwCode AS DWORD
) AS LOGIC
public virtual bool AttachmentOpen(
string cAttachID,
[DefaultParameterValueAttribute(0, 0)] uint dwCode
)
Request Example
View SourceParameters
- 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