id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 259,Help getting Email2Trac to send HTML emails.,kofal002@…,bas,"I have performed a slight modification to Trac's source to send HTML notification emails. Really, I just added this line: {{{ headers['Content-Type'] = 'text/html; charset=utf-8' }}} to !NotifyEmail's ''send()'' function in ''trac\notification.py'' and it works fine. Whenever I respond to a ticket via Trac's webUI, Trac's notification email is sent using my custom ''templates\ticket_notify_email.txt'', and the content-type is correctly flagged as HTML. It would appear that Email2Trac uses the same code paths to send email: {{{#!python def notify(self, tkt, new=True, modtime=0): ... tn = TicketNotifyEmail(self.env) ... tn.notify(tkt, new, modtime) }}} However, despite my best efforts to figure out why, Email2Trac-triggered emails are sent '''text/plain''' content-type. This is bad, since it's using the same custom (HTML) email template, but sending as raw text, and the HTML will not render. I've been digging through the code in both Email2Trac and in Trac's source, and I cannot find why this is the case. This may not be in Email2Trac's main feature set, but I was hoping you could lend some insight on how to do this.",defect,closed,major,,email2trac,2.1.0,invalid,,