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