Changeset 10854 for main/waeup.kofa/trunk/src
- Timestamp:
- 19 Dec 2013, 09:43:34 (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
r9306 r10854 159 159 body_to += '%s, ' % encode_address(email, rcpt_name) 160 160 body = encode_body(body) 161 body["From"] = encode_address(from_addr, from_name)161 body["From"] = body["Cc"] = encode_address(from_addr, from_name) 162 162 body["To"] = body_to.strip(', ') 163 163 body["Subject"] = encode_header_item(subject) -
main/waeup.kofa/trunk/src/waeup/kofa/tests/test_smtp.py
r9306 r10854 239 239 u'msg: Content-Transfer-Encoding: 7bit', 240 240 u'msg: From: A sender <sender@example.com>', 241 u'msg: Cc: A sender <sender@example.com>', 241 242 u'msg: To: A recipient <recpt@example.com>', 242 243 u'msg: Subject: A subject', … … 262 263 u'msg: Content-Transfer-Encoding: quoted-printable', 263 264 u'msg: From: A sender <sender@example.com>', 265 u'msg: Cc: A sender <sender@example.com>', 264 266 u'msg: To: A recipient <recpt@example.com>', 265 267 u'msg: Subject: A subject', … … 285 287 u'msg: Content-Transfer-Encoding: quoted-printable', 286 288 u'msg: From: A sender <sender@example.com>', 289 u'msg: Cc: A sender <sender@example.com>', 287 290 u'msg: To: A recipient <recpt@example.com>', 288 291 u'msg: Subject: A subject',
Note: See TracChangeset for help on using the changeset viewer.