Discuss this help topic in SecureBlackbox Forum
OnAssemble is invoked during message assembly and gives possibility to perform additional handling of the current message part.
Declaration
Parameters
- Destination - stream to which assembled data will be written.
- Charset - charset of the message.
- HeaderEncoding -
- BodyEncoding - type of the body encoding.
- AttachEncoding - type of attachment encoding.
- State - describes assembling event state.
- Item - contains index of the current element for astAddressFieldItem, astHeaderFieldItem, astBodyPartBefore and astBodyPartAfter states.
- sBoundary - current boundary value.
- bIsHandled - True value shows that current event has been handled and assembly for current state has to be excluded from further handling. Final states (with 'After') can not be excluded from handling.
- bStopAssemble - True value shows that assembly must be interrupted. All further states except astAfter will be skipped. astAfter state is necessary for handler to be able to deallocate resources.
Return value
Returns 0 (EL_OK) or 1 (EL_WARNING) on success, and Error otherwise.
Description
Parameters
Destination,
Charset,
HeaderEncoding,
BodyEncoding,
AttachEncoding,
correspond to
AssembleMessage method parameters.
Discuss this help topic in SecureBlackbox Forum