Searched refs:formataddr (Results 1 – 6 of 6) sorted by relevance
/third_party/python/Lib/test/test_email/ |
D | test_email.py | 3095 self.assertEqual(utils.formataddr(utils.parseaddr('<>')), '') 3113 utils.formataddr(('A Silly Person', 'person@dom.ain')), 3118 utils.formataddr(('A (Very) Silly Person', 'person@dom.ain')), 3125 self.assertEqual(utils.parseaddr(utils.formataddr((a, b))), (a, b)) 3129 utils.formataddr((r'Arthur \Backslash\ Foobar', 'person@dom.ain')), 3133 self.assertEqual(utils.parseaddr(utils.formataddr((a, b))), (a, b)) 3141 self.assertEqual(utils.formataddr((name, addr)), utf8_base64) 3142 self.assertEqual(utils.formataddr((name, addr), 'iso-8859-1'), 3156 self.assertEqual(utils.formataddr((name, addr), mock), mock_expected) 3157 self.assertEqual(utils.formataddr((name, addr), Charset('utf-8')), [all …]
|
/third_party/python/Lib/email/ |
D | utils.py | 76 def formataddr(pair, charset='utf-8'): function
|
/third_party/python/Doc/library/ |
D | email.utils.rst | 71 .. function:: formataddr(pair, charset='utf-8')
|
/third_party/python/Lib/test/ |
D | test_smtplib.py | 1344 message['From'] = email.utils.formataddr(('Michaël', 'michael@example.com')) 1345 message['To'] = email.utils.formataddr(('René', 'rene@example.com'))
|
/third_party/python/Doc/whatsnew/ |
D | 3.3.rst | 2417 * :func:`email.utils.formataddr` now does the correct content transfer
|
/third_party/python/Misc/ |
D | HISTORY | 9829 - Issue #1690608: email.util.formataddr is now RFC 2047 aware: it now has a
|