web.utils.sendmail should support multiple to_addresses
Bug #141104 reported by
Aaron Swartz
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
web.py |
Fix Released
|
Medium
|
Anand Chitipothu |
Bug Description
Sometimes you might want to send an email to multiple people.
Changed in webpy: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in webpy: | |
assignee: | nobody → anandology |
milestone: | none → 0.3 |
status: | Confirmed → Fix Committed |
Changed in webpy: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I found this in utils.py, lastest revision
headers = dictadd({ MIME-Version' : '1.0', Content- Type': 'text/plain; charset=UTF-8', Content- Disposition' : 'inline',
'
'
'
'From': from_address,
'To': ", ".join(to_address),
'Subject': subject
}, headers)
So, isn't it already in Web.py? Just use ('<email address hidden>', '<email address hidden>') as the to_address (not tested)