Click or drag to resize

CEmail.SetAttachmentInfo Method

X#
This method allows you to replace elements of the internal attachment array of the email object.

Namespace:  VO
Assembly:  VOInternetClasses (in VOInternetClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD SetAttachmentInfo(
	dwIndex AS DWORD,
	dwType AS DWORD,
	uNewValue AS USUAL
) AS USUAL
Request Example View Source

Parameters

dwIndex
Type: DWord
The element in the attachment array that needs to be replaced
dwType
Type: DWord
The type of information that needs to be replaced. This can be one of: ATTACH_STOREID (1) ATTACH_CONTENTID (2) ATTACH_FILESIZE (3) ATTACH_FILENAME (4) ATTACH_CONTENTTYPE (5) ATTACH_TRANSFERENCODING (6) ATTACH_FULLPATH (7) ATTACH_SIZE (8)
uNewValue
Type: Usual
New value for the type.

Return Value

Type: Usual
The old value for the attachment array element
See Also