Custom Query (332 matches)


Show under each result:

Results (139 - 141 of 332)

Ticket Resolution Summary Owner Reporter
#211 fixed notify when comments by email bas anonymous


I've started using email2trac recently, it works as intended. However i have a problem.

trac version: 0.12 email2trac: 1.4.8

When i reply the tickets by email (comments) others dont get notified.But if i write a comment from trac's web interface, trac successfully sends mail to people.

here's my email2trac.conf:

project: /var/lib/trac/projects
debug: 0
ticket_update: 1
umask: 022
spam_level: 5
umask: 022
email_header: 0
trac_version: 0.12
enable_syslog : 1
alternate_notify_template :
alternate_notify_template_update :
drop_spam: 1
spam_header: X-Spam-Level
verbatim_format: 0
strip_signature: 0
email_quote: >
strip_quotes: 0
ignore_trac_user_settings: 0
black_list: MAILER-DAEMON@
drop_alternative_html_version: 0

and here's trac's mail settings:

admit_domains = 
always_notify_owner = true
always_notify_reporter = true
always_notify_updater = true
ignore_domains = 
mime_encoding = base64
smtp_always_bcc = 
smtp_always_cc =
smtp_default_domain = 
smtp_enabled = true
smtp_from =
smtp_from_name = 
smtp_password = 
smtp_port = 25
smtp_replyto =
smtp_server = localhost
smtp_subject_prefix = __default__
smtp_user = 
ticket_subject_template = $prefix #$ $summary
use_public_cc = False
use_short_addr = false
use_tls = false
#364 fixed notify_sender doesn't work, probably since r633 bas kroseneg@…

Error message:

Failure sending notification on creation of ticket #22212: global name 'sender_email' is not defined

sender_email was used globally for self.email_addr, now tn.email2trac_notify_reporter is used.

This patch fixes the problem:

---	(revision 660)
+++	(working copy)
@@ -2486,7 +2486,7 @@
                 if self.email2trac_notify_reporter:
                     if not self.email2trac_notify_reporter in torcpts:
-                        torcpts.append(sender_email)
+                        torcpts.append(self.email2trac_notify_reporter)
                 if self.email2trac_replyto:
                     # use to rewrite reply to
#61 fixed Notifications not sent when email2trac adds a ticket bas pprovost@…


I realize that there are other tickets on this subject, but this is (in my opinion) slightly different. The similarity is that notifications only get sent out when adding a ticket via the web interface. Adding via email2trac works, but no notification is sent. When running the test with the given mail, I get the following:

# cat email2trac-0.13/msg.txt | email2trac --project=pprovost
TD: Failure sending notification on creation of ticket #18: 'str' object is not callable

This is with Trac 0.11 and email2trac 0.13

Note: See TracQuery for help on using queries.