[rt-users] Best way to disable mail notification during mass ticket creation?

Jesse Vincent jesse at bestpractical.com
Mon Apr 14 16:38:37 EDT 2008


On Apr 14, 2008, at 4:32 PM, Kevin Murphy wrote:
> Kevin Murphy wrote:
>> When creating large numbers of tickets via Tools/Offline, is there a
>> good way of disabling associated mail notification?
> On second thought, this is a pretty darn rare requirement.  I  
> retract my
> question and comments :-)
>

If you _did_ want to do this,  I'd probably use the API and do this:

BEGIN {
no warnings 'redefine';
use RT::Action::SendEmail;
sub RT::Action::SendEmail::SendMessage {  return 1 }
};


> -Kevin
>
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080414/b9d0752e/attachment.sig>


More information about the rt-users mailing list