Saturday 3 December 2016

sending email using python after checking some condition

I am trying to build a prototype in python. The used case is fairly simple. Upon running the program will accept an input x and will execute something like



if(x<=3){
send email to xxx@gmail.com
some html copy
}


This is the start...Now I think I would need a web server to send an email. And that's where I getting lost. Can I avoid installing a server stack for this task? I am pretty new to python.

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...