About This program requires smtplib module to run the code. smtplib comes preinstalled wih python. If you are gettig error then follow installation step. Installaion pip install smtplib