>I would like to be able to work with email soley in code.
There are several 3rd party products hat handle everything you want, but one freebie is wwIPStuff; it only handles SMTP (send) and not POP (receive) though.
wwIPStuff can be downloaded from here in the files section.
Erik Moore
Clientelligence