How to mail the scraping data through SMTP

Thanks
for your valuable time to solve my problum