Installation of NotifyWithAttachment

This could be fairly trivial thing to do but being a newbie, and trying to walk
before crawling long enough, I am in need of this functionality but even after
reading the .README from the contrib, I still cannot figure out what goes where.

Now I think I need to be hand-held in order to stand up :wink: Anyone willing to
give a 1-2-3 of using that contributed module??

Thanking you in advance.

-Wash

Odhiambo Washington wash@wananchi.com "The box said 'Requires
Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,'
Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD."
GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :slight_smile:

A banker is a fellow who lends you his umbrella when the sun is shining
and wants it back the minute it begins to rain.
– Mark Twain

Wash,

I just installed this myself recently. Grab the tarball and
unpack it. You will see three files, the README, the perl
module (.pm) and the insert action database script (.pl)

Read the README
Copy the perl module to rt2/lib/RT/Action/ (since this is a ScripAction)
execute the insert database script - this adds NotifyWithAttachment
to the list of known ScripActions.

Then, use this action in a scrip or your choosing. I modified the
OnCorrespond script to use this action instead of NotifyAllWatchers.

NOTE: I found a misspelled hash key in my copy of NotifyWithAttachment.pm
Around line 54, change “Disposisiton” to “Disposition”

hth,
kevin

-----Original Message-----
From: Odhiambo Washington [mailto:wash@wananchi.biz]
Sent: Thursday, March 28, 2002 5:05 AM
To: Ferguson, Kevin
Subject: Re: [rt-users] Installation of NotifyWithAttachment

Then, use this action in a scrip or your choosing. I modified the
OnCorrespond script to use this action instead of NotifyAllWatchers.

here is where I have issues: Does your scrip read like mine below?

OnCorrespond Notify-CORRESP/ATTACH-Requestor,Cc with template
Correspondence

I don’t know where your action names came from.

I see these action names in the perl script that is used to
install the perl modules!!

Did you use it? I’ve attached it - installer.pl

My original action was

OnCorrespond NotifyAllWatchers with template Correspondence

I changed this to

OnCorrespond NotifyWithAttachment with template Correspondence

NotifyWithAttachment is the same as NotifyAllWatchers but with attachments.

The other question that I’ve posted (unfortunately I hadn’t
read your e-mail)
regards notifications. Why are my requestors getting notified
when a ticket
status changes to ‘open’??

Do you have a OnTransaction scrip setup?

No I don’t…

-Wash

Odhiambo Washington wash@wananchi.com "The box said 'Requires
Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,'
Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD."
GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :slight_smile:

Take it easy, we’re in a hurry.

installer.pl (1.96 KB)