On Wednesday, September 16, 2015 at 5:45:13 AM UTC-7, Franz wrote: > > Hi, > > I am just working on my trac plugin XMailPlugin [1] to work with the new > notification API; currently I am using Trac 1.1.6. > > But I just found that trac seems to use deprecated method > TicketNotifyEmail._prepare_body to render email body. I guess that is not > intended. >
It is intended: http://trac.edgewall.org/ticket/3517#comment:21 The code will be moved when the deprecated API is removed. I've already staged the changes in #11901: http://trac.edgewall.org/changeset/b3781083044f67878f7d2bcaf89b9a837803bba0/rjollos.git/ > Am I wrong or what is the intended way to render email message using > template ticket_notify_email.txt as decribed in [2]. > That's the recommended way to customize the template. What problem are you encountering? -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-dev+unsubscr...@googlegroups.com. To post to this group, send email to trac-dev@googlegroups.com. Visit this group at http://groups.google.com/group/trac-dev. For more options, visit https://groups.google.com/d/optout.