How to send an email with the attachments using python?
Note: If you like my explanation please subscribe to my channel
Before going to learn first we should know what is the use of this concept. If we want to know the daily report of any script.
For example:
I wrote one web scraping script and it scrapes product data daily. Now the client wants to know the information like
- The script is running daily or not.
- How many products scrapped today.
- How many new products scrapped.
- Product price increased or decreased
- Do any issues found in scrapping?
- How many products failed to move to the database. why?
- And so on
So this type of information we can send to the client.
Finally, the use of this concept is to send the report automatically to the client or manager or colleague or ourselves.