Where i can find PID value of Session Property
(ISESSION_PID_IS_SESSION_AUTHENTICATED) for chek session is authenticated in
SMTP transport Event?
void ISmtpInCommandSink.OnSmtpInCommand(object pServer, object pSession,
MailMsg pMsg, ISmtpInCommandContext pContext) {
try {
MailMsgPropertyBag Session = new MailMsgPropertyBag(pSession);
bool isAuthenticated=Session.GetBool(PID);
} catch (Exception e) {
Context.CommandStatus = (uint) ProtocolEventConstants.EXPE_COMPLETE_FAILURE;
throw new COMException("Event is consumed",
ProtocolEventConstants.EXPE_S_CONSUMED);
}
}
Archived from group: microsoft>public>exchange2000>development