Email sender is made to send email with attachments to multiple users at once whose datas are stored in a file which maybe .csv, .xlsx, etc.
This files are read by pandas and then sent using SMTP.
Downloading the required modules.
pip install ssl
pip install pandas
-
Go to this site and choose your gmail account and login APP Password
-
Click on Select APP and then select Mail
-
Click on Select Device and choose the device you will run the code on.
NOTE: We tested it on Windows Computer
- In the code write your email in sender_email.
- Write the generated APP Password in password.
- Make any other changes you want to make like adding more values to csv file, etc.
- Run the code