class TMail::Port TMail::Port is the abstruction of mail source.
ropen -> IOopens stream for read.
wopen -> IOopens stream for write.
aopen -> IOopens stream for adding.
class TMail::FilePort < TMail::Portnew(filename) -> TMail::FilePort
filename: String
creates new TMail::FilePort object.
filename -> Stringreturns file name which this port is wrapping.
class TMail::StringPort < TMail::Portnew(src = '') -> TMail::StringPort
src: String
creates new TMail::StringPort object from mail source string.