Lines Matching refs:MIMEText
33 from email.mime.text import MIMEText
775 m = MIMEText('abc\n')
788 m = MIMEText('É testabc\n')
819 msg = MIMEText('hello world')
822 msg = MIMEText('hello \xf8 world')
825 msg = MIMEText('hello \xf8 world', _charset='iso-8859-1')
833 msg = MIMEText('文\n', _charset='euc-jp')
844 msg = MIMEText('\xe1\xf6\n', 'text', 'ISO-8859-1')
855 msg = MIMEText('\u017c\n', 'text', 'ISO-8859-2')
1006 msg = MIMEText('')
1720 # Test the basic MIMEText class
1723 self._msg = MIMEText('hello there')
1740 msg = MIMEText('hello there', _charset='us-ascii')
1746 msg = MIMEText('hello there', _charset=charset)
1753 msg = MIMEText('hello there', _charset='us-ascii')
1759 msg = MIMEText('hello there')
1767 msg = MIMEText(teststr, _charset='utf-8')
1776 self.assertRaises(UnicodeEncodeError, MIMEText, teststr)
1789 intro = MIMEText('''\
1899 msg = MIMEText('hello world')
1924 msg = MIMEText('hello world')
1952 msg = MIMEText('hello world')
1979 msg = MIMEText('hello world')
2006 msg = MIMEText('hello world')
2033 msg = MIMEText('hello world')
2599 msg1 = MIMEText('One')
2600 msg2 = MIMEText('Two')
2617 msg1 = MIMEText('One')
2618 msg2 = MIMEText('Two')
2685 subpart1a = MIMEText('message 1\n')
2686 subpart2a = MIMEText('message 2\n')
2754 text1 = MIMEText('')
2755 text2 = MIMEText('')
3511 (MIMEText, ('',)),