Ejemplo n.º 1
0
 /**
  * Helper for send() method, the first argument can take a single email or an
  * array of recipients where the key is the address and the value is the name.
  * 
  * The callback argument can be a boolean that when TRUE will use queue() to
  * send the message instead. The callback argument can also be an array of options
  * with the following (@todo):
  *  - queue
  *  - queueName
  *  - callback
  *  - delay
  *
  * @param array $recipients
  * @param string|array $view
  * @param array $data
  * @param \Closure|string $callback
  * @param boolean $queue
  * @return void 
  * @static 
  */
 public static function sendTo($recipients, $view, $data = array(), $callback = null, $queue = false)
 {
     \October\Rain\Mail\Mailer::sendTo($recipients, $view, $data, $callback, $queue);
 }