Sending mail in python using smtp
In this 'Sender' and 'Recipient' mail id entered run time.
'mailserver'(e.g. "smtp.gmail.com") of google is given at run time.
'password' of Sender is given at runtime.
-> server = smtplib.SMTP(servername,587) TLS port for gmail(587), if you change mail server then port need to change according to requiremnts.
->server.set_debuglevel(True) To see the all log info at run time.