Learning Python Network Programming by Sarker Dr. M. O. Faruque & Washington Sam
Author:Sarker, Dr. M. O. Faruque & Washington, Sam [Sarker, Dr. M. O. Faruque]
Language: eng
Format: mobi, epub, azw3
Publisher: Packt Publishing
Published: 2015-06-17T07:00:00+00:00
if __name__ == '__main__':
sender = input("Enter sender email address: ")
recipient = input("Enter recipeint email address: ")
send_email(sender, recipient)
The preceding code is similar to our first example, except for the authentication to the server. In this case, the SMTP user is authenticated against the server. If we run the script after turning on the SMTP debugging, then we would be seeing an output similar to the following:
$ python3 smtp_mail_sender_tls.py
Enter sender email address: [email protected]
Enter recipeint email address: [email protected]
Enter your email subject: Test email
Enter your email message. Press Enter when finished. This is a test email that can be ignored.
Download
Learning Python Network Programming by Sarker Dr. M. O. Faruque & Washington Sam.epub
Learning Python Network Programming by Sarker Dr. M. O. Faruque & Washington Sam.azw3
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Deep Learning with Python by François Chollet(11982)
Hello! Python by Anthony Briggs(9430)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9398)
The Mikado Method by Ola Ellnestam Daniel Brolund(9357)
Dependency Injection in .NET by Mark Seemann(8903)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(7902)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7422)
Grails in Action by Glen Smith Peter Ledbrook(7336)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7165)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6014)
Kotlin in Action by Dmitry Jemerov(4692)
Practical Vim (for Kathryn Amaral) by Drew Neil(3753)
Cracking the GRE Premium Edition with 6 Practice Tests, 2015 (Graduate School Test Preparation) by Princeton Review(3632)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3544)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(3291)
Learn Windows PowerShell in a Month of Lunches by Don Jones(3284)
Microservices with Go by Alexander Shuiskov(3076)
Practical Design Patterns for Java Developers by Miroslav Wengner(2994)
Test Automation Engineering Handbook by Manikandan Sambamurthy(2941)