On Fri, Oct 19, 2012 at 09:35:48AM +1100, Tom Robinson wrote: > On 17/10/12 00:35, Kevin Falcone wrote: > > On Mon, Oct 08, 2012 at 11:51:30AM +1100, Tom Robinson wrote: > >> It looks as if the Command by Mail commands CC: and AddCC: can only be > >> used for existing users. Is > >> this configurable so that non-existing users may be added automatically > >> using the command by mail > >> commands? > > It isn't configurable, but it would certainly be possible to patch it > > so that if the user isn't found, it just calls AddWatcher with the > > Email argument instead of the PrincipalId argument. > > > Thanks Kevin. With my limited experience with RT, are you implying I write > some sort of scrip or > actually patch the code somehow? Where would I begin with that sort of > customisation?
This would require patching the RT-Extension-CommandByMail extension. You can search it's codebase for AddWatcher and compare the variant it uses to the documented arguments here: http://bestpractical.com/rt/docs/latest/RT/Ticket.html#AddWatcher -kevin
pgpvj4b1Ikj5l.pgp
Description: PGP signature
-------- Final RT training for 2012 in Atlanta, GA - October 23 & 24 http://bestpractical.com/training We're hiring! http://bestpractical.com/jobs
