Changeset 10855 for main/waeup.kofa/trunk
- Timestamp:
- 19 Dec 2013, 12:23:23 (11 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/smtp.py
r10854 r10855 164 164 165 165 mailer = getUtility(IMailService) 166 rcpt_addrs += [from_addr] 166 167 result = mailer().send(from_addr, rcpt_addrs, body.as_string()) 167 168 return result -
main/waeup.kofa/trunk/src/waeup/kofa/tests/test_smtp.py
r10854 r10855 233 233 self.assertEqual( 234 234 self.get_fake_smtp_output().split('\n'), 235 [u'Sending email from sender@example.com to recpt@example.com :',235 [u'Sending email from sender@example.com to recpt@example.com, sender@example.com:', 236 236 u'Message:', 237 237 u'msg: MIME-Version: 1.0', … … 258 258 self.assertEqual( 259 259 self.get_fake_smtp_output().split('\n'), 260 [u'Sending email from sender@example.com to recpt@example.com :',260 [u'Sending email from sender@example.com to recpt@example.com, sender@example.com:', 261 261 u'Message:', u'msg: MIME-Version: 1.0', 262 262 u'msg: Content-Type: text/plain; charset="iso-8859-1"', … … 282 282 self.assertEqual( 283 283 self.get_fake_smtp_output().split('\n'), 284 [u'Sending email from sender@example.com to recpt@example.com :',284 [u'Sending email from sender@example.com to recpt@example.com, sender@example.com:', 285 285 u'Message:', u'msg: MIME-Version: 1.0', 286 286 u'msg: Content-Type: text/plain; charset="iso-8859-1"',
Note: See TracChangeset for help on using the changeset viewer.