Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (190 - 192 of 332)

Ticket Resolution Summary Owner Reporter
#213 fixed help to configure bas shankar.p@…
Description
Dear sir/mam,

I can't understand how to setup default email2trac configuration.
Can you please send me example configuration file of trac.ini and
email2trac.conf?
Please help me to configure email2trac plugin.

#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.

#79 fixed Having some issues getting multiple projects to work bas gmcgrath@…
Description

I've recently updated to the trunk version of email2trac (to get the auto reactivation of tickets feature) and I can't seem to make multiple project handing work correctly. The default / CSBMBPortal listing works perfect, I have 2 emails in the alias file forwarding to that project but the PNIInteral project seems to be ignoring it's emails entirely. If I muck with the aliases to send to an incorrect project name email2trac correctly bounces it back to the sender with a listing of the correct project names. Any ideas?

Relevant alias entries:

csbmb-help: "|/usr/local/email2trac/bin/email2trac --project=CSBMBPortal"

tesla-help: "|/usr/local/email2trac/bin/email2trac --project=CSBMBPortal --component=Tesla"

mri-cert: "|/usr/local/email2trac/bin/email2trac --project=PNIInternal --component=MRI"

/usr/local/email2trac/etc/email2trac.conf:

[DEFAULT]

project: /usr/csbmb/trac-env/port/

debug: 2

umask: 002

spam_level: 0

reply_all : 1

mailto_link: 0

umask: 022

email_comment: >

email_header: 1

trac_version: 0.10

enable_syslog : 1

alternate_notify_template :

drop_spam : 0

ticket_update: 1

[CSBMBPortal]

project: /usr/csbmb/trac-env/port/

reply_all: 1

spam_level: 0

umask: 002

[PNIInternal]

project: /usr/csbmb/trac-env/Internal/

reply_all: 1

spam_level: 0

umask: 002

Note: See TracQuery for help on using queries.