예제 #1
0
 protected function call_mandrill($email_data)
 {
     $email_service = null;
     $s = null;
     require_once '../sources/mandrill.php';
     $email_service = new mandrill($email_data);
     $s = $email_service->send();
     return $s;
 }
예제 #2
0
파일: mandrill.php 프로젝트: tareqy/Caracal
 /**
  * Public function that creates a single instance
  */
 public static function getInstance()
 {
     if (!isset(self::$_instance)) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }