MAPILabMAPIStore.com
Home ExchangeOutlookMessengerOthers


Administration

Anti-Spam

Anti-Virus

Backup & Recovery

Collaboration & CRM

Content Checking

Fax Connectors

Migration

Miscellaneous

POP3 Downloaders

Reporting

Security & Encryption

Sinks & Scripts

SMS & Paging



Search for
Advanced search





IM Announcements

Description:

If everyone in your office is using Exchange Instant messaging you may want to provide a method to allow some users to send a quick announcement to all online users. One solution for this is to setup a mailbox that your users can send an email to with their announcement as the subject. This email will then trigger the On_Arrival SMTP event sink on the Instant Messaging Server which will spawn a script that queries Active directory for all IM users and then establishes a session with each user and sends them a message based on the subject line of the initiating email.

Installation:

To install and use an SMTP event sink you will first require the SMTPREG.vbs script that is included in the Exchange SDK. Create a directory on your servers c: drive called c:\smtpevt and copy the smtpreg.vbs ,smtpevt.vbs and sndmsg.vbs scripts into this directory. To create an event sink for the smtpevt.vbs script that will fire when mail is received addressed to IMannouce. From a command line in the c:\smtpevt directory type:

cscript smtpreg.vbs /add 1 onarrival IMannouce CDO.SS_SMTPOnArrivalSink "mail to=imannouce@yourdomain.com"

You then need to associate the smtpevt.vbs script to this event sink you have created using:

cscript smtpreg.vbs /setprop 1 onarrival IMannouce Sink ScriptName c:\smtpevt\smtpevt.vbs

Once this has been done you need to stop and start the SMTP service and your event sink will now be active.

If you wish to delete this event sink latter type:

cscript smtpreg.vbs /remove 1 onarrival IMannouce

Code description:

Detailed code description is available on script homepage. Written on VBScript.


Version:

Size:
1000 Bytes

Date:
May 13, 2003

License:
Freeware 

OS:
Win NT/2000

Interface languages:
English


Author:
OutlookExchange.com

Download Sites:
  • www.outlookexchange.com



  • User Opinions  (No opinions. So be the first!)

    Submit Your Opinion | More User Opinions



    Subscribe Now!
    Enter your e-mail address to receive e-mail when this program is updated
    Your e-mail:






    Terms Of Use  |  Disclaimer  |  Privacy Policy

    Copyright © 2003 MAPILab Ltd.