예제 #1
0
 /**
  * Get the report account credentials
  * 
  * @return mixed A hash array with username and password.False if missing.
  */
 private static function getReportCredentials()
 {
     $username = EmailConfiguration::getReportAddress();
     $password = EmailConfiguration::getReportPassword();
     if (!$username || !$password) {
         return false;
     }
     return array("username" => $username, "password" => $password);
 }