Platform SDK: SMTP Server Events

eLinkStateFlags Enumeration

[This is preliminary documentation and subject to change.]

Router sinks use the eLinkStateFlags enumerated values to set or examine link state flags for SMTP relay links.

Name Value (Hex) Description
LINK_STATE_NO_ACTION 0x0 This flag has no affect on the link state.
LINK_STATE_RETRY_ENABLED 0x1 If not set, the link has a retry attempt pending.
LINK_STATE_SCHED_ENABLED 0x2 If not set, the link has a scheduled connection pending.
LINK_STATE_CMD_ENABLED 0x4 If set, the link should be activated to send a command.
LINK_STATE_ADMIN_HALT 0x8 If set, the administrator has directed that no connections for this link will be attempted.
LINK_STATE_ADMIN_FORCE_CONN 0x10 If set, the administrator has directed that the connection should be made presently (now).
LINK_STATE_CONNECT_IF_NO_MSGS 0x20 Connect even if there are no pending messages to relay. This flag will keep the link active and the link will not be deleted while this flag remains set.
LINK_STATE_DO_NOT_DELETE 0x40 Do not delete this link.
LINK_STATE_CREATE_IF_NECESSARY 0x80 Create this link if it does not exist.
LINK_STATE_LINK_NO_LONGER_USED 0x100 Set when the SMTP service has finished using the link.
LINK_STATE_RESERVED 0xFFFF0000 Reserved for internal use only.

Remarks

Router sinks can use the flags essentially a boolean flags that the SMTP service connection manager used to determine when a link is to be made.

See Also

IMessageRouterLinkStateNotification::LinkStateNotify