Searched refs:get_body (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Lib/test/test_email/ |
D | test_message.py | 456 self.assertEqual(m.get_body(), first(expected)) 457 self.assertEqual(m.get_body(preferencelist=( 460 self.assertEqual(m.get_body(preferencelist=('related', 'html')), 462 self.assertEqual(m.get_body(preferencelist=('related', 'plain')), 464 self.assertEqual(m.get_body(preferencelist=('html', 'plain')), 466 self.assertEqual(m.get_body(preferencelist=['related']), 468 self.assertEqual(m.get_body(preferencelist=['html']), expected[html]) 469 self.assertEqual(m.get_body(preferencelist=['plain']), expected[plain]) 470 self.assertEqual(m.get_body(preferencelist=('plain', 'html')), 472 self.assertEqual(m.get_body(preferencelist=('plain', 'related')), [all …]
|
/external/python/cpython3/Doc/includes/ |
D | email-read-alternative.py | 28 simplest = msg.get_body(preferencelist=('plain', 'html')) 37 richest = msg.get_body() 50 body = richest.get_body(preferencelist=('html'))
|
/external/python/cpython3/Doc/library/ |
D | email.message.rst | 536 .. method:: get_body(preferencelist=('related', 'html', 'plain')) 546 ``get_body`` method is called. 566 with the object on which ``get_body`` is called, calling ``get_body`` on 571 are of type ``text/plain``, which may occasionally cause ``get_body`` to
|
D | email.parser.rst | 26 such as :meth:`~email.message.EmailMessage.get_body`,
|
/external/python/cpython3/Lib/email/ |
D | message.py | 1006 def get_body(self, preferencelist=('related', 'html', 'plain')): member in MIMEPart
|