[rt-users] Command by Mail CC and AddCC for new users

Kevin Falcone falcone at bestpractical.com
Fri Oct 19 11:27:18 EDT 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20121019/59bee7cc/attachment.sig>


More information about the rt-users mailing list