exchangefreaks.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Authentication State Session Property ID in SMTP Tranport Ev

 
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange 2000 Development
Author Message
SibGhost



Joined: 29 Nov 2007
Posts: 1

PostPosted: Thu Nov 29, 2007 8:21 am    Post subject: Authentication State Session Property ID in SMTP Tranport Ev Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
HasSub property Hi All, what is "hassubs" property mean? A folder contain subfolders or not? If a folder contain messages or docs, will the value of this property become true? I am using Webdav queries to get sub folder details and for some subfolders, I get folder count

How to access "private" property of an Exchange Item Hi all, I am accessing Exchange 2000 using ADO with EXOLEDB provider and C++. Now I want to issue a WSS query that returns all "non-private" items of a folder, e.g. select * from where = 'urn:c

WebDav Authentication I'm attempting to write a WebDAV to access contacts, but it is failing when I try the I receive a WebException and conversion from string to double where indicated below I've verified the path to the DL

Secondary SMTP addresses are not resolved by CheckName? Hello: I have a code to check AD for an addressee: Dim iAddressee = If then msgbox "OK" else msgbox "unresolved" end if The code works fine for the p

SMTP Event Sink Attachment stripping question Hi, Im quite new to scripting and I need help, I need to script an event sink that will strip attachments from emails that go to any recipient at the "@orange.net" domain. is it simple or at all possible?
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange 2000 Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group