/mail-using-python

smtp mail in python

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

sending-mail-using-python

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.