new( arg )
: TMail
loadfrom( filename )
: TMail
boundary
msgid
quote( str )
quote_phrase( str )
In case there's no 'key' header, execute "add_header(key,default_body)" and return its header object. In case 'default_body' is nil and also there's no block was given use its return value as 'default_body'.
body
preamble
parts
-
If the mail was MIME multipart mail, each element is TMail::Mail object
which represents MIME part. If not, this is an empty array.
epilogue
-
If the mail was MIME multipart mail, this represent 'epilogue' string.
Else, void string.
multipart?
-
True if it is MIME multipart mail.
to_s( eol = "\n", header_sep = '' )
-
convert it to a string.
If there's ESC in header, TMail encode the header (only 'B' encode can be used).
'header_sep' is separator of header and body. ex: '----' for Mh mail.
inspect( eol = "\n", header_sep = '' )
-
convert it to a string. This method is equal to 'to_s' except 'inspect'
does not encode header.
Copyright (c) 1998-2000 Minero Aoki
<aamine@dp.u-netsurf.ne.jp>