Changeset 11161 for main/waeup.kofa/branches/0.2/src/waeup/kofa/smtp.py
- Timestamp:
- 21 Feb 2014, 11:07:54 (11 years ago)
- Location:
- main/waeup.kofa/branches/0.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/0.2
- Property svn:mergeinfo changed
/main/waeup.kofa/trunk (added) merged: 10895,10900,10906,10908,10914,10933-10934,10944,11068,11090,11106,11142,11157-11158
- Property svn:mergeinfo changed
-
main/waeup.kofa/branches/0.2/src/waeup/kofa/smtp.py
r10855 r11161 164 164 165 165 mailer = getUtility(IMailService) 166 rcpt_addrs += [from_addr] 166 try: 167 email_admin = grok.getSite()['configuration'].email_admin 168 if from_addr != email_admin: 169 rcpt_addrs += [from_addr] 170 except TypeError: 171 # In tests we might not have a site object 172 rcpt_addrs += [from_addr] 173 pass 167 174 result = mailer().send(from_addr, rcpt_addrs, body.as_string()) 168 175 return result
Note: See TracChangeset for help on using the changeset viewer.