Ejemplo n.º 1
0
 /**
  * Get details of a SMTP account
  *
  * Returns the details of the SMTP account specified by $accountId.
  * If $accountId is either FALSE or not a valid account ID then FALSE will
  * be returned instead.
  * @see _getSmtpAccount()
  * @param   integer $accountId  The ID of the account settings
  * @param boolean $getPassword
  * @return  mixed           Array with the details of the requested account
  *                          on success, false otherwise
  * @static
  */
 static function getSmtpAccount($accountId = 0, $getPassword = true)
 {
     global $objDatabase;
     return SmtpSettings::_getSmtpAccount($accountId, $getPassword);
 }