Exch2k event sink, Python under WSH

Keith Farmer kfarmer at thuban.org
Wed Nov 13 01:03:29 EST 2002


NB:  I cut/paste the lines incorrectly.  They were in fact executed as
/add first, then /setprop

From: kfarmer at thuban.org (Keith Farmer)
Newsgroups: comp.lang.python,microsoft.public.exchange.admin
Subject: Exch2k event sink, Python under WSH
NNTP-Posting-Host: 63.173.29.194
Message-ID: <6d668d6.0211122200.1fc00430 at posting.google.com>

C:\Documents and Settings\Administrator.THUBAN\Desktop>cscript
smtpreg.vbs /setprop 1 onarrival SMTPOnArrival Sink ScriptName
"C:\Documents and Settings\Administrator.THUBAN\Desktop\ex2k_event_sink.wsh"

C:\Documents and Settings\Administrator.THUBAN\Desktop>cscript
smtpreg.vbs /add 1 onarrival SMTPOnArrival CDO.SS_SMTPOnArrivalSink
"rcpt to=*"



More information about the Python-list mailing list