How to create a custom AUTH sink for Microsoft SMTP. The post shows you how the managed wrappers are used, how to read the protocol input, how to write protocol output, how to read additional lines of input after the bound event is done with the SetCallback method, how to create new authentication schemes, how to set the CommandStatus, how to use the session's propertybag, how to accept or decline within the protocol, and more...