Opened 19 years ago
Last modified 14 years ago
#1538 closed defect
Email notify fail if user have blank email field in settings — at Initial Version
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | notification | Version: | devel |
Severity: | major | Keywords: | verify bitesized |
Cc: | brianlsmith@…, vyt@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I use trac trunk from 22 april 2005 with settings
always_notify_reporter = true always_notify_owner = true
If reporter not specified email address in settings, then trac fails to send emails:
Trac[Ticket] ERROR: Failure sending notification on change to ticket #25: iteration over non-sequence Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/Ticket.py", line 434, in save_changes tn.notify(ticket, newticket=0, modtime=now) File "/usr/lib/python2.4/site-packages/trac/Notify.py", line 217, in notify NotifyEmail.notify(self, ticket['id'], subject ) File "/usr/lib/python2.4/site-packages/trac/Notify.py", line 117, in notify Notify.notify(self, resid) File "/usr/lib/python2.4/site-packages/trac/Notify.py", line 56, in notify self.send(to) File "/usr/lib/python2.4/site-packages/trac/Notify.py", line 356, in send NotifyEmail.send(self, rcpt, hdrs) File "/usr/lib/python2.4/site-packages/trac/Notify.py", line 150, in send self.server.sendmail(self.from_email, rcpt, msg.as_string()) File "/usr/lib/python2.4/smtplib.py", line 681, in sendmail for each in to_addrs: TypeError: iteration over non-sequence
Note:
See TracTickets
for help on using tickets.