njdreikosen / email_listener Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Traceback (most recent call last):
File "D:/Projects/mail-reader/main.py", line 14, in <module>
messages = el.scrape()
File "\Projects\mail-reader\venv\lib\site-packages\email_listener\__init__.py", line 144, in scrape
val_dict["Subject"] = self.__get_subject(email_message).strip()
AttributeError: 'Header' object has no attribute 'strip'
Python 3.8.8 - Windows 10
messages = el.scrape()
print(messages)
based on code's above, the terminal should print out variable massage which is :
{'[email protected]': {'Subject': 'EmailListener Test', 'Plain_Text': 'This is the plain text message.\r\nThis is another line.\r\n', 'Plain_HTML': 'This is the HTML message. \nThis is another line. \n\n', 'HTML': '\r\n\r\n \r\n \r\n <title>EmailListener Test</title>\r\n \r\n \r\n \r\n
This is the HTML message.
This is another line.
the terminal output.
Connection is now in IDLE mode.
Server sent: [(40, b'EXISTS')]
PROCESSING: Email UID = 73 from [email protected]
Server sent: nothing
Server sent: nothing
Server sent: nothing
but the thing that i got only the result it is already downloaded in notepad. any ideas why is it happening ?
In PyCharm the name of this package (when searching for packages to install) is email-listener instead of email_listener. As a result I had trouble finding the package.
Never ran into this before.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.