class TMail::Port TMail::Port is the abstruction of mail source.
ropen -< TMail::InputStreamopens stream for read.
wopen -< TMail::OutputStreamopens stream for write.
aopen -< TMail::OutputStreamopens stream for adding.
class TMail::FilePort < TMail::Portnew( filename: String ) -< TMail::FilePortcreates new TMail::FilePort object.
filename -< Stringreturns file name which this port is wrapping.
class TMail::StringPort < TMail::Portnew( src: String ) -< TMail::StringPortcreates new TMail::StringPort object from mail source string.
class TMail::InputStream gets -< Stringread one line.
each {|line| .... }iterates for each lines.
class TMail::OutputStream write( str: String )<<( str )writes str to stream.