Other Classes


MailAddr module

MailAddr does not implement any methods or constants. This module exist for only type check.

Mbox

included modules

Class Methods

new( adr : String, phr = '' : String, ro = nil : Array of String ) : Mbox
create new Mbox object. adr is "addr-spec", phr is "phrase", ro is array of "routes".

Methods

addr, addr=( adr: String )
"addr-spec"
routes: Array of String
an array of string which stands "routes"(does not include '@').
phrase, phrase=( phr: String )
"phrase". This string is decoded.
to_s: String
convert it to encoded string.
inspect: String
convert it to decoded string.

AddrGroup

included modules

Class Methods

new( name, adrs = nil )
create new AddrGroup object. 'name' is name of group, 'adr' is an array, of Mbox or AddrGroup.

Methods

This class delegates unknown method to Array. Here's other methods.

each_addr{|addr| .... }
iteration for each "addr-spec" string.
to_s: String
convert to encoded string.

Copyright(c) 1999 Minero Aoki TMail Reference

MhLoader

Class to handle Mh directory.

Class Methods

new( dirname )
create new MhLoader Object. 'dirname' must be Mh directory.
nextfile( dirname )
return "next" filename which is correct Mh mail-file name.

Methods

nextfile
returns "next" filename for its directory
each{|port| ... }
each_mail{|port| ... }
iteration for each mail in directory. "port" is a FilePort object.

MboxLoader

A class to handle UNIX Mbox. Read only.

Class Methods

new( fname )
creates new MboxLoader object. 'fname' must be UNIX Mbox file name.

Methods

each{|port| ... }
each_mail{|port| ... }
iteration for each mail in directory. "port" is a StringPort object.

Copyright (c) 1999,2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>