FRED™  3.0
FRED™: Framework for Rapid and Easy Development
Mail.php
Go to the documentation of this file.
1 <?php
2 
4 
5 class Mail extends \Rsi\Fred\Worker\Job{
6 
7  protected $_from = null;
8  protected $_to = null;
9  protected $_subject = null;
10  protected $_body = null;
11  protected $_html = null;
12 
13  public function execute(){
14  $this->_worker->component('mail')->send($this->_from,$this->_to,$this->_subject,$this->_body,$this->_html);
15  }
16 
17 }