Discuss this help topic in SecureBlackbox Forum
Defines possible states which occur during the process of parsing.
Declaration
[C#]
public enum TElOnParseState { pstBefore = 0, pstAfter = 1, pstHeaderBefore = 2, pstHeaderAfter = 3, pstAddressFieldBefore = 4, pstAddressFieldItem = 5, pstAddressFieldAfter = 6, pstHeaderFieldsBefore = 7, pstHeaderFieldItem = 8, pstHeaderFieldsAfter = 9, pstBodyBefore = 10, pstBodyAfter = 11, pstBodyAfterFirstBoundary = 12, pstBodyPartBefore = 13, pstBodyPartAfter = 14, pstDecode = 15 };
[VB.NET]
Enum TElOnParseState
pstBefore = 0
pstAfter = 1
pstHeaderBefore = 2
pstHeaderAfter = 3
pstAddressFieldBefore = 4
pstAddressFieldItem = 5
pstAddressFieldAfter = 6
pstHeaderFieldsBefore = 7
pstHeaderFieldItem = 8
pstHeaderFieldsAfter = 9
pstBodyBefore = 10
pstBodyAfter = 11
pstBodyAfterFirstBoundary = 12
pstBodyPartBefore = 13
pstBodyPartAfter = 14
pstDecode = 15
End Enum
[Pascal]
TElOnParseState = (pstBefore, pstAfter, pstHeaderBefore, pstHeaderAfter, pstAddressFieldBefore, pstAddressFieldItem, pstAddressFieldAfter, pstHeaderFieldsBefore, pstHeaderFieldItem, pstHeaderFieldsAfter, pstBodyBefore, pstBodyAfter, pstBodyAfterFirstBoundary, pstBodyPartBefore, pstBodyPartAfter, pstDecode);
[C++]
typedef uint8_t TElOnParseStateRaw;
typedef enum { pstBefore = 0, pstAfter = 1, pstHeaderBefore = 2, pstHeaderAfter = 3, pstAddressFieldBefore = 4, pstAddressFieldItem = 5, pstAddressFieldAfter = 6, pstHeaderFieldsBefore = 7, pstHeaderFieldItem = 8, pstHeaderFieldsAfter = 9, pstBodyBefore = 10, pstBodyAfter = 11, pstBodyAfterFirstBoundary = 12, pstBodyPartBefore = 13, pstBodyPartAfter = 14, pstDecode = 15 } TElOnParseState;
[PHP]
class TElOnParseState extends TSBBaseEnum {
const pstBefore = 0;
const pstAfter = 1;
const pstHeaderBefore = 2;
const pstHeaderAfter = 3;
const pstAddressFieldBefore = 4;
const pstAddressFieldItem = 5;
const pstAddressFieldAfter = 6;
const pstHeaderFieldsBefore = 7;
const pstHeaderFieldItem = 8;
const pstHeaderFieldsAfter = 9;
const pstBodyBefore = 10;
const pstBodyAfter = 11;
const pstBodyAfterFirstBoundary = 12;
const pstBodyPartBefore = 13;
const pstBodyPartAfter = 14;
const pstDecode = 15;
}
[Java]
public enum TElOnParseState { pstBefore, pstAfter, pstHeaderBefore, pstHeaderAfter, pstAddressFieldBefore, pstAddressFieldItem, pstAddressFieldAfter, pstHeaderFieldsBefore, pstHeaderFieldItem, pstHeaderFieldsAfter, pstBodyBefore, pstBodyAfter, pstBodyAfterFirstBoundary, pstBodyPartBefore, pstBodyPartAfter, pstDecode }
Possible values
Description
Three states: pstBodyAfterFirstBoundary,
pstBodyPartBefore and pstBodyPartAfter are used only for multipart message or part.
State pstDecode corresponds to
the event-request for message decryption.
Handler must decrypt message at this event and set DecodedPart property
that points to the decrypted part if necessary.
Declared in
.NET:
- Namespace: SBMIME
- Assembly: SecureBlackbox.MIME
VCL:Java:
- Package: SecureBlackbox.MIME.jar
C++:
Discuss this help topic in SecureBlackbox Forum