Re: Reading mail getting [, ...

2019-12-14 Thread dieter
Abdur-Rahmaan Janhangeer writes: > Can you please indicate where is the header in my code above? Thanks. Python is an object oriented language. As a consequence, Python functions often return complex objects and not only elementary objects. Use the documentation of the complex object's class to

Re: Reading mail getting [, ...

2019-12-13 Thread Abdur-Rahmaan Janhangeer
Can you please indicate where is the header in my code above? Thanks. Yours, Abdur-Rahmaan Janhangeer pythonmembers.club | github Mauritius > -- https://mail.python.org/mailman/listinfo/python-list

Re: Reading mail getting [, ...

2019-11-14 Thread MRAB
On 2019-11-14 19:43, Abdur-Rahmaan Janhangeer wrote: Greetings, Using this code to read mail. I'm printing to file only mails sent by some people. For some mails i get the body as the below instead of actual text: [, ] instead of the actual mail body. Here is the code: # # import imaplib imp

Reading mail getting [, ...

2019-11-14 Thread Abdur-Rahmaan Janhangeer
Greetings, Using this code to read mail. I'm printing to file only mails sent by some people. For some mails i get the body as the below instead of actual text: [, ] instead of the actual mail body. Here is the code: # # import imaplib import email import time my_senders = ['y...@x.com ', 'y.