Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Thu, 29 Nov 2007 03:21:02 -0800,    group: microsoft.public.exchange2000.development        back       


Authentication State Session Property ID in SMTP Tranport Event   
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);
 }
}
date: Thu, 29 Nov 2007 03:21:02 -0800   author:   SibGhost

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us