Can someone give me a list of all POP and SMTP protocol commands that a client needs to know and the possible server responses? Or direct me to a resource which will give me all these details?

And I mean all, including SMTP authentication etc.

.