Platform SDK: SMTP Server Events

MailMsg Recipient Properties

[This is preliminary documentation and subject to change.]

Information about each message recipient is stored in the MailMsg object as a set of properties identified by a DWORD recipient index value. These properties include the email address of the recipient and so on. They are accessed within the MailMsg object using the exposed IMailMsgRecipients interface. Properties can be of type char, wchar_t, BOOL or DWORD. These values are defined by one of the supplied property enumerations in the mailmsgprops.h header file.

The SMTP service architecture uses a set of stock properties for default processing of messages as each passes through the various protocol and transport components. Custom sink applications can register for a range of property identifiers and use the identifiers to store custom information for each recipient if desired.