Re: adding disclaimer with visual basic SMTP transport event sink



"cw1972" <cw1972@xxxxxxxxx> wrote in message
news:1175604282.218427.199520@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
following this guide: http://support.microsoft.com/kb/317680 - How
to
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
_______________________________________


.



Relevant Pages

  • Sharing Violation with xcopy -after adsutil.vbs APPUNLOAD & iis st
    ... files to the web server and keep getting sharing violation. ... xcopy filename1.dll destdir ... Microsoft Windows Script Host Version 5.6 ... Copyright Microsoft Corporation 1996-2001. ...
    (microsoft.public.inetserver.iis)
  • Re: cscript sometimes fails to run JScript
    ... I have written a JScript that I execute under cscript from the Windows ... Microsoft Windows Script Host Version 5.6 ... Copyright Microsoft Corporation 1996-2001. ... CScript Error: Initialization of the Windows Script Host failed. ...
    (microsoft.public.scripting.wsh)
  • Re: Prndrvr.vbs
    ... > Microsoft Windows Script Host Version 5.6 ... > Copyright Microsoft Corporation 1996-2001. ... > Debug: In function ParseCommandLine ... adding the printer driver is either missing or incorrect. ...
    (microsoft.public.scripting.vbscript)
  • Re: how to enble icf remotely
    ... That is only half the problem, you need to determine the interface you ... turn on and off ICF for any or all interfaces. ... Microsoft Windows Script Host Version 5.6 ... Copyright Microsoft Corporation 1996-2001. ...
    (NT-Bugtraq)
  • Re: Aaagh! cScript no longer Returning! ??
    ... the first time I tried it I miss-spelled the ... the correct .vbs file, and it never returned; ... Microsoft Windows Script Host Version 5.1 for Windows ... Copyright Microsoft Corporation 1996-1999. ...
    (microsoft.public.scripting.vbscript)