panx framework | Documentation | Mail class

Mail class

Mail class is very simple class to sending mail using PHP mail() function. The reason why it is class is you can easy implement some mail clients using the Mail class

The class have following functions:

  • subject($s) - Sets the subject to $s.
  • message($m) - Sets the message to $m
  • header($h) - Sets the headers to $h
  • send($reciever) - Send email to $reciever with specified subject, message and headers.
array(3) { [0]=> string(20) "docs/v0.3/header.php" [1]=> string(18) "docs/v0.3/mail.php" [2]=> string(20) "docs/v0.3/footer.php" }