Summary

This chapter demonstrates how Python can interact with the three major e-mail handling protocols: SMTP, POP3, and IMAP. In each of these cases, how to work the client code has been explained. Finally, an example for using SMTP in the Python's logging module has been shown.

In the next chapter, you will learn how to use Python to work with remote systems to perform various tasks, such as administrative tasks by using SSH, file transfer through FTP, Samba, and so forth. Some remote monitoring protocols, such as SNMP, and the authentication protocols, such as LDAP, will also be discussed briefly. So, enjoy writing more Python codes in the next chapter.

Get Learning Python Network Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.