Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (244 - 246 of 332)

Ticket Resolution Summary Owner Reporter
#258 duplicate email2trac : OperationalError: SQL logic error or missing database bas margus@…
Description

email2trac : OperationalError?: SQL logic error or missing database

#259 invalid Help getting Email2Trac to send HTML emails. bas kofal002@…
Description

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:

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.

#260 invalid Test2 with new database inplace bas bas.van.der.vlies@…
Description
lets see
Note: See TracQuery for help on using queries.