Logo Search packages:      
Sourcecode: d-push version File versions  Download package

Mail_RFC822::Mail_RFC822 ( address = null,
default_domain = null,
nest_groups = null,
validate = null,
limit = null 

Sets up the object. The address must either be set here or when calling parseAddressList(). One or the other.


string$addressThe address(es) to validate.
string$default_domainDefault domain/host etc. If not supplied, will be set to localhost.
boolean$nest_groupsWhether to return the structure with groups nested for easier viewing.
boolean$validateWhether to validate atoms. Turn this off if you need to run addresses through before encoding the personal names, for instance.
object Mail_RFC822 A new Mail_RFC822 object.

Definition at line 141 of file z_RFC822.php.

References $address, $default_domain, $limit, and $validate.

Referenced by parseAddressList().

        if (isset($address))        $this->address        = $address;
        if (isset($default_domain)) $this->default_domain = $default_domain;
        if (isset($nest_groups))    $this->nestGroups     = $nest_groups;
        if (isset($validate))       $this->validate       = $validate;
        if (isset($limit))          $this->limit          = $limit;

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index