enzoh/smtps-gmail — pull request #4 by damiencourousse (2014-08-23 12:42:10+00:00)
Title: Use stateful computations for recvSMTPS and sendSMTPS

observed problem: 'recvSMTPS' assumes the SMTP reply will come in one
TLS packet (recvData), which is not always true.

fix: the processing of the SMTP reply must be done from a recorded state
built from the output of recvData: recvSMTPS now happens in the State
monad.