Lines Matching refs:MIMEText
28 from email.MIMEText import MIMEText
586 msg = MIMEText('hello world')
589 msg = MIMEText('hello \xf8 world')
592 msg = MIMEText('hello \xf8 world', _charset='iso-8859-1')
600 msg = email.MIMEText.MIMEText('\xca\xb8', _charset='euc-jp')
707 msg = MIMEText('')
1071 # Test the basic MIMEText class
1074 self._msg = MIMEText('hello there')
1091 msg = MIMEText('hello there', _charset='us-ascii')
1097 msg = MIMEText(u'hello there', _charset='us-ascii')
1103 msg = MIMEText(u'hello there')
1111 msg = MIMEText(teststr, _charset='utf-8')
1118 self.assertRaises(UnicodeEncodeError, MIMEText, teststr)
1135 intro = MIMEText('''\
1245 msg = MIMEText('hello world')
1270 msg = MIMEText('hello world')
1298 msg = MIMEText('hello world')
1325 msg = MIMEText('hello world')
1352 msg = MIMEText('hello world')
1379 msg = MIMEText('hello world')
1818 msg1 = MIMEText('One')
1819 msg2 = MIMEText('Two')
1836 msg1 = MIMEText('One')
1837 msg2 = MIMEText('Two')
1910 subpart1a = MIMEText('message 1\n')
1911 subpart2a = MIMEText('message 2\n')
1979 text1 = MIMEText('')
1980 text2 = MIMEText('')
2228 'MIMENonMultipart', 'MIMEText', 'Message',