Ticket #3361 (closed defect: fixed)
changes in notification cause breakage in email2trac
| Reported by: | micah@… | Owned by: | eblot |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.10 |
| Component: | ticket system | Version: | devel |
| Severity: | major | Keywords: | notification email2trac |
| Cc: |
Description
The changes made in source:/trunk/trac/ticket/notification.py@3468 break the notification functionality used in the email2trac plugin functionality. The version prior to this check-in allowed you to submit a ticket via email and email2trac would be able to parse the submitted email's From: address and then a proper notification would be sent out to that email address to let them know their ticket was received.
After upgrading to source:/trunk/trac/ticket/notification.py@3468 if I send email in (via email2trac) response notifications are no longer sent to the person submitting the ticket via email. Instead it seems to be picking up the real name that is included in a typical from:
From: "Micah Anderson" <micah@riseup.net>
and then failing to send notification to "Micah Anderson" (due to it being an incorrect email address), rather than trying to send the notification to <micah@…>. The log says:
2006-07-05 18:48:32,360 Trac[notification] INFO: Email address w/o domain: Micah Anderson
This resulted in the ticket filed with email2trac here, but after experimenting with the code from various versions, I see that it was a change in notification.py that caused this, rather than the email2trac plugin.
Thanks!


