Re: adding disclaimer with visual basic SMTP transport event sink
- From: "Lee Derbyshire [MVP]" <email a@t leederbyshire d.0.t c.0.m>
- Date: Tue, 3 Apr 2007 15:11:40 +0100
"cw1972" <cw1972@xxxxxxxxx> wrote in message
news:1175604282.218427.199520@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
following this guide: http://support.microsoft.com/kb/317680 - Howto
add a disclaimer to outgoing SMTP messages in Visual Basic script
everything seemed to be successful...
"C:\ExchAddons\disclaimer>cscript smtpreg.vbs /add 1 onarrival
SMTPScriptingHost
CDO.SS_SMTPOnArrivalSink "mail from=*@sheffcare.co.uk"
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
Binding Display Name Specified: SMTPScriptingHost
Assigning priority (24575 in 32767)
** SUCCESS **
Registered Binding:
Event Name :SMTP Transport OnSubmission
Display Name:SMTPScriptingHost
Binding GUID:{8B25BFB0-6F67-440F-82F7-FA5DF9094DFC}
ProgID :CDO.SS_SMTPOnArrivalSink
Rule :mail from=*@sheffcare.co.uk
Priority :24575 (0 - 32767, default: 24575)
ComCatID :{FF3CAA23-00B9-11d2-9DFB-00C04FA322BA}"
"C:\ExchAddons\disclaimer>cscript smtpreg.vbs /setprop 1 onarrival
SMTPScriptingHost Sink ScriptName "C:\ExchAddons\disclaimer
\DisclaimerEventSinkScript.vbs"
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
Binding Display Name Specified: SMTPScriptingHost
set property ScriptName to C:\ExchAddons\disclaimer
\DisclaimerEventSinkScript.vbs"
Yet it doesn't seem to work - I read about it not working with MAPI
application, so I sent test messages from OWA and still nothing...
anyone have any pointers what may be going wrong?
The article is a useful coding exercise, but pretty useless as a
practical solution. Much easier to just buy something.
Lee.
--
_______________________________________
Outlook Web Access For PDA , OWA For WAP
www.owapda.com
email a@t leederbyshire d.0.t c.0.m
_______________________________________
.
- References:
- Prev by Date: rpc over https - ncacn_http missing from RPCDump?
- Next by Date: Spam on Exchange 2003
- Previous by thread: Re: adding disclaimer with visual basic SMTP transport event sink
- Next by thread: Re: mail domain alias pop3 connector
- Index(es):
Relevant Pages
|