Exemplo n.º 1
0
 /**
  * Send a newsletter test to the given recipients.
  *
  * @param int    $ID         of the current newsletter
  * @param string $recipients A JSON array of recepients with items {"Email" : "...", "Name" : "...."}
  */
 public function sendTest($ID, $recipients)
 {
     $this->name = $this->name . "/{$ID}/test";
     return parent::create(array('Recipients' => $recipients));
 }