How to mail the scraping data through SMTP

Click on attach files and pass the csv file path as argument