?
Solved

Creating Exchange Server Event Sinks with Exchange SDK

Posted on 2006-05-29
2
Medium Priority
?
553 Views
Last Modified: 2012-05-05
This link describes how to add a disclaimer to outgoing SMTP messages in Visual Basic script.
http://support.microsoft.com/?kbid=317680

I've tried a few other ways (including GFI Mail Essentials) but none work so well.

My issue is this.
In the above article it makes reference to "Smtpreg.vbs file, which is installed with the Exchange SDK"
It tells you that the VBS should be located in "...\Exchange SDK\SDK\Support\CDO\Scripts" folder

I've installed the SDK tools but they dont give you the directories listed.

Any help ?
0
Comment
Question by:Conchial
2 Comments
 
LVL 4

Accepted Solution

by:
xqs earned 2000 total points
ID: 16786301
Download the file from the link: http://www.microsoft.com/downloads/details.aspx?FamilyId=57414A35-CF6B-460A-8F99-D76DC9E4ED31&displaylang=en
Extract and install, the smtpreg.vbs script is located in the folder (if you don't change the defaults) C:\Program Files\Exchange SDK\SDK\Support\CDO\Scripts

Copy the EventSinkScript.vbs that you created using the support article to a directory on your server (e.g. c:\scripts) and browse to the folder (C:\Program Files\Exchange SDK\SDK\Support\CDO\Scripts) where the smtpreg.vbs script is located (using the command prompt).
Then type:

cscript smtpreg.vbs /add 1 onarrival SMTPScriptingHost CDO.SS_SMTPOnArrivalSink "mail from=*@your-domain-here.com"
 and
cscript smtpreg.vbs /setprop 1 onarrival SMTPScriptingHost Sink ScriptName "C:\scripts\EventSinkScript.vbs"
 If the command succeeds, you receive a success message generated by the script.

That should do the trick...
0
 

Author Comment

by:Conchial
ID: 16789568
Outstanding.
Thanks
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
Steps to fix error: “Couldn’t mount the database that you specified. Specified database: HU-DB; Error code: An Active Manager operation fail”
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Suggested Courses
Course of the Month14 days, 16 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question