Python send mail using SMTP

SMTP – Simple Mail Transfer Protocol is used for sending e-mail and routing e-mail between mail servers. There is a module in python called stmplib which defines an SMTP client session object. Here is the example #!/usr/bin/python import smtplib client = smtplib.SMTP(‘smtp.gmail.com’, 587) sender=’your mail id’ password =’your mail password’ recipient =’recipient mail id ‘…

What Is Python ?

`      Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together. Python’s simple, easy to learn syntax…