Lines Matching refs:richest
37 richest = msg.get_body() variable
39 if richest['content-type'].maintype == 'text':
40 if richest['content-type'].subtype == 'plain':
41 for line in richest.get_content().splitlines():
44 elif richest['content-type'].subtype == 'html':
45 body = richest
47 print("Don't know how to display {}".format(richest.get_content_type()))
49 elif richest['content-type'].content_type == 'multipart/related':
50 body = richest.get_body(preferencelist=('html'))
51 for part in richest.iter_attachments():
62 print("Don't know how to display {}".format(richest.get_content_type()))