Changeset 11586 for main/waeup.kofa/trunk
- Timestamp:
- 10 Apr 2014, 14:04:32 (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
r11585 r11586 199 199 rcpt_addrs += [from_addr] 200 200 pass 201 result = mailer().send( from_addr, rcpt_addrs, body.as_string())201 result = mailer().send(FROM_ADDRESS, rcpt_addrs, body.as_string()) 202 202 return result -
main/waeup.kofa/trunk/src/waeup/kofa/tests/test_smtp.py
r11585 r11586 236 236 self.assertEqual( 237 237 self.get_fake_smtp_output().split('\n'), 238 [u'Sending email from sender@example.comto '238 [u'Sending email from no-reply@waeup.org to ' 239 239 u'recpt@example.com, sender@example.com:', 240 240 u'Message:', … … 263 263 self.assertEqual( 264 264 self.get_fake_smtp_output().split('\n'), 265 [u'Sending email from sender@example.com'265 [u'Sending email from no-reply@waeup.org ' 266 266 u'to recpt@example.com, sender@example.com:', 267 267 u'Message:', u'msg: MIME-Version: 1.0', … … 289 289 self.assertEqual( 290 290 self.get_fake_smtp_output().split('\n'), 291 [u'Sending email from sender@example.com'291 [u'Sending email from no-reply@waeup.org ' 292 292 u'to recpt@example.com, sender@example.com:', 293 293 u'Message:', u'msg: MIME-Version: 1.0',
Note: See TracChangeset for help on using the changeset viewer.