D
D
Dmin442020-07-13 19:21:38
Python
Dmin44, 2020-07-13 19:21:38

How to receive incoming IMAP/POP3 emails?

Good afternoon.

Task:
You need to receive incoming mail in a specific mailbox with a Python script.
Those. as soon as the letter gets into the "Inbox" folder, it should immediately be sent to my script (further the text of the message is displayed in the console).
How to write such a script?

Why am I asking here?
I have been struggling with this question for the second day, but the search engine only returns articles like "Parsing E-Mail" and "Sending Python Emails" , which does not suit me at all.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey_Dolg, 2020-07-13
@Andrey_Dolg

If python, then here is a good one. )
https://imapclient.readthedocs.io/en/2.1.0/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question