Re: email disclaimer ?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Sidney (sidney_online_at_yahoo.com)
Date: 07/14/04


Date: Wed, 14 Jul 2004 15:57:53 -0400

I've tried this and also tried what is on MS Knowledge Base Articles 317680
and 317327 and I cannot get it to work. Do I need any other apps installed
on the exchange server? Like visual basic or something. I get no disclaimer.
I am using Windows 2003 server and Exchange 2003 server... I called MS tech
support and they couldn't help me either.

Sidney

"Deji Akomolafe" <noemail@akomolafe.com> wrote in message
news:uWGzoxcaEHA.2488@tk2msftngp13.phx.gbl...
> This is what MY disclaimer (a significant part of which I lifted from
public
> sources) looks like:
>
> <SCRIPT LANGUAGE="VBScript">
> Sub ISMTPOnArrival_OnArrival(ByVal Msg, EventStatus)
> HTMLDisclaimer = "<p></p><p>DISCLAIMER:<br>This Electronic Mail originated
> from the Private Mail Servers of the <B><u>Akomolafe Family</u></b>.<br>"
> HTMLDisclaimer = HTMLDisclaimer & "<p><i>Some more HTML blahs</i>."
> pos = InStr(1, Msg.HTMLBody, "</body>", vbTextCompare)
> szPartI = Left(Msg.HTMLBody, pos - 1)
> szPartII = Right(Msg.HTMLBody, Len(Msg.HTMLBody) - (pos - 1))
> Msg.HTMLBody = szPartI + HTMLDisclaimer + szPartII
> Msg.HTMLBody = Msg.HTMLBody & vbCrLf & HTMLDisclaimer & vbCrLf
> Msg.DataSource.Save ' Commit the changes into the transport
Stream
>
> EventStatus = cdoRunNextSink
> End Sub
> </SCRIPT>
>
>
> I put that in a file called "My-Disclaimer.vbs" on the D drive
>
> I then register it as an event sink, like this:
>
> smtpreg.vbs /add 1 OnTransportSubmission MyDisclaimer
> CDO.SS_SMTPOnArrivalSink "mail from=*@akomolafe.com"
> smtpreg.vbs /setprop 1 OnTransportSubmission MyDisclaimer Sink ScriptName
> D:\My-Disclaimer.vbs
> smtpreg.vbs /setprop 1 OnTransportSubmission MyDisclaimer Source Priority
> 100
> net stop smtpsvc
> net start smtpsvc
>
> Then, when I want to remove it (because people complained, because I'm
> drunk, or for whatever reason), I simply do:
> smtpreg.vbs /remove 1 OnTransportSubmission MyDisclaimer
> net stop smtpsvc
> net start smtpsvc
>
> And it works.
>
> HTH
> --
> Sincerely,
>
> Dèjì Akómöláfé, MCSE MCSA MCP+I
> www.akomolafe.com
> www.iyaburo.com
> Do you now realize that Today is the Tomorrow you were worried about
> Yesterday? -anon
> "Adrian" <anonymous@discussions.microsoft.com> wrote in message
> news:2d64f01c469c1$a74afa90$a301280a@phx.gbl...
> > Hi folks,
> >
> > I can't believe that Exchange 2003 doesn't have a feature
> > allowing for a uniform email disclaimer!
> >
> > They told me to use a VB script for outgoing emails or
> > third party tools (the technician told me to modify the
> > script for internal exchange messeging!)
> >
> > does anyone have a better way of doing this?
> >
> > kind regards,
> > Adrian
> >
> > How to add a disclaimer to outgoing SMTP messages in
> > Visual Basic
> > http://support.microsoft.com/default.aspx?scid=kb;EN-
> > US;317327
> >
>
>



Relevant Pages

  • Re: Outbound Appending
    ... If you think a disclaimer should be a basic function of a world-class e-mail ... server such as Exchange server, then I would suggest to send an e-mail to ... Rest assured that Exchange is not the ... functionality out of the box. ...
    (microsoft.public.exchange.admin)
  • Re: Exchange not recieving inbound mail
    ... I checked in metaedit the smtpsvc had 3 entries. ... So i decided to reinstall ... and reinstalled Exchange Server, ... server service pack 3. ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: add company disclaimer to bottom of every outgoing email.
    ... I was just informed that in exchange 5.5 there was a dll file ... If you are dead set on setting up the disclaimer using this ... I'd really encourage you to set up another server. ... >>> MessageOne ...
    (microsoft.public.exchange.admin)
  • Re: Add Disclaimer to outbound SMTP mail
    ... I tried the vbscript on my internal and external front end server and the ... get the native function to work on my front end exchange server. ... Microsoft supports this vbscript disclaimer ... >>> Microsoft Certified Partner ...
    (microsoft.public.exchange2000.general)
  • Re: add disclaimer note on all out going email
    ... How do I add a disclaimer to outgoing SMTP messages in Visual Basic/Visual ... a border server, which can be either a Windows 2000 or 2003 SMTP Server with ... or without Exchange 2000/2003 installed. ...
    (microsoft.public.exchange.admin)