Posts

Showing posts with the label smtp mail

Send Email using Python through Gmail, Sendgrid and Elasticmail

Image
We have the lot of use case to send the email through the code.  For that purpose, I had post this to send email / notification through the python smtp . Description      We have to send the email using the python code. That will use the third party smtp library to send email. For this we have to get the smtp configuration from the email service provider .  Based on the configuration we can send the normal email or attached one. But this will help us to send the marketing email / notification and other purpose. Pre-requesting  Have to install python on your machine. And have to install  smtplib library with the help of  pip or other tool. Have to get the gmail smtp information Use cases : Now a days with out email notification none of the application delivered.  That would help to boom the sales or reach out the right customer. Sample code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26...