Discuss this help topic in SecureBlackbox Forum
Loads
MessagePart
data from stream.
Declaration
Parameters
- Header -
- Source - source stream.
- Boundary - boundary which is used to separate parts in multipart part.
- HeaderCharset -
- BodyCharset - charset of the body.
- AOptions - parsing options.
- IgnoreHeaderNativeCharset -
- IgnoreBodyNativeCharset - determines what charset must be applied to the message body.
True - the one specified in BodyCharset
False - the one specified in message if it exists or specified in BodyCharset if there is no charset specified in the message.
- bActivatePartHandlers - shows if handlers must be invoked automatically.
True - if there is a handler determined for the part it will be invoked automatically on part processing.
False - even if handler is determined it won't be invoked automatically.
Return value
Returns 0 (EL_OK) on success, 1 (EL_WARNING) if source data contains byte sequences illegal for given charsets.
Error otherwise.
ELMessageParsingOptions values
Description
Use this method to decompose message part from stream into parts such as body, header etc.
Parse has the functionality opposite to
Assemble.
Note, Options setting differs for VCL and .NET versions.
To enable several options in .NET use bitwise OR operation, for example "mpoStoreStream | mpoLoadData | mpoCalcDataSize".
Discuss this help topic in SecureBlackbox Forum