Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Registering script in CDO_OnArrival_Event


Message #1 by "Doug Lightfoot" <dougl@j...> on Thu, 7 Jun 2001 19:39:50
I want to use VBScript, ASP and LDAP to process incoming mail. I want to 

intercept the mail and forward it to various people. I understand that I 

must interact with an SMTP event called "CDO_OnArrival_Event". I also 

understand that I must "Register my script in the CDO event-scripting host 

as the event sink". Is there any very detailed documentation on how to do 

register my script so that I may take advantage of 

the "CDO_OnArrival_Event".

thanks
Message #2 by "Siegfried Weber" <sweber@c...> on Fri, 8 Jun 2001 16:02:53 +0200
1. LDAP can' be used with any scripting language. It is C/C++ (or

Delphi) only. To access a directory (like Windows 2000 Active Directory)

you need to use ADSI.

2. A SMTP event sink is installed and configured on the Windows 2000

SMTP service and not something you can do via an ASP page.

3. The Platform SDK and MSDN has plenty of information and sample code.

Start at http://msdn.microsoft.com/library



</Siegfried>



> -----Original Message-----

> From: Doug Lightfoot [mailto:dougl@j...]

> Sent: Thursday, June 07, 2001 9:40 PM

> To: ASP CDO

> Subject: [asp_cdo] Registering script in CDO_OnArrival_Event

>

> I want to use VBScript, ASP and LDAP to process incoming mail. I want

to

> intercept the mail and forward it to various people. I understand that

I

> must interact with an SMTP event called "CDO_OnArrival_Event". I also

> understand that I must "Register my script in the CDO event-scripting

host

> as the event sink". Is there any very detailed documentation on how to

do

> register my script so that I may take advantage of

> the "CDO_OnArrival_Event".

> thanks

> 

  Return to Index