Home
last modified time | relevance | path

Searched refs:formataddr (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Lib/test/test_email/
Dtest_email.py3095 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/
Dutils.py76 def formataddr(pair, charset='utf-8'): function
/third_party/python/Doc/library/
Demail.utils.rst71 .. function:: formataddr(pair, charset='utf-8')
/third_party/python/Lib/test/
Dtest_smtplib.py1344 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/
D3.3.rst2417 * :func:`email.utils.formataddr` now does the correct content transfer
/third_party/python/Misc/
DHISTORY9829 - Issue #1690608: email.util.formataddr is now RFC 2047 aware: it now has a