Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

SMTP filter context objects can be queried for values or have their values set with calls to SMTPFilterQueryContextData and SMTPFilterSetContextData respectively. The values are contained within a variant type called FilterContextDataVariant. Possible value types to set/get are:

FlagDescriptionType in the FilterContextDataVariantAccess
SMTP_DATA_SESSION_OBJThe sessionOpaque pointerRead
SMTP_DATA_USER_OBJThe user associated with this contextUDBHandleRead
SMTP_DATA_ENVELOPE_OBJThe envelope associated with the sessionOpaque pointerRead
SMTP_DATA_MESSAGE_OBJThe messageOpaque pointerRead
SMTP_DATA_SESSION_INTERCEPTEDIs the session interceptedboolRead
SMTP_DATA_SESSION_SECUREIs the session secureboolRead
SMTP_DATA_SESSION_CLIENTIPClient IPV4 addressUnicode stringRead
SMTP_DATA_SESSION_LOCALIPLocal IPV4 addressUnicode stringRead
SMTP_DATA_SESSION_MTAIDName presented with HELO/EHLOUnicode stringRead
SMTP_DATA_SESSION_TRUSTEDIs the client trustedboolRead/Write
SMTP_DATA_SESSION_STATECurrent transaction stateintRead/Write
SMTP_DATA_COMMANDRequest methodUnicode stringRead
SMTP_DATA_COMMANDLINEWhole protocol command lineUnicode stringRead
SMTP_DATA_RETURNPATHReturn pathUnicode stringRead
SMTP_DATA_RECIPIENTRecipientUnicode stringRead
SMTP_DATA_MESSAGE_IDMessage idUnicode stringRead
SMTP_DATA_MESSAGE_FILENAMEMessage filenameUnicode stringRead
SMTP_DATA_RESPONSE_STATUSStatus code of the responseintRead/Write
SMTP_DATA_RESPONSE_STATUSTEXTStatus textUnicode stringRead/Write
SMTP_DATA_ROUTING_TAGA tag storeable with response statusUnicode stringRead/Write