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