Net_SMTP provides an implementation of the SMTP protocol using PEAR's Net_Socket class.