On Jan 24, 2006, at 6:39 PM, Kilian CAVALOTTI wrote:

On Tuesday 24 January 2006 17:26, Bas van der Vlies wrote:
Thanks for the patches i will try them and make an option in
email2trac.conf for trac notification emails.

Great to hear!

May I take the opportunity to ask something else? Yes, again. :)
I'd like to be able to use an alternate notification mail template for tickets
created by email2trac. Basically, it just requires to modify the
template_name property of the TicketNotifyEmail instance. Eg:

            tn = TicketNotifyEmail(self.env)
            tn.template_name = "alternate_ticket_notify_email.cs"
            tn.notify(tkt, newticket=True)

It would be very handy to see this as an option in email2trac.conf, too.


Oke. If we send notification emails or not depends on a setting in trac.ini. I think i can fetch that setting and then decide if we send notifications. The template will ne an option in ameail2trac.conf

Regards




--
Bas van der Vlies
[EMAIL PROTECTED]



_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to