Example #1
0
 /**
  * Simple static wrapper for all-in-one POP before SMTP.
  *
  * @param $host
  * @param int|bool $port        The port number to connect to
  * @param int|bool $timeout     The timeout value
  * @param string   $username
  * @param string   $password
  * @param int      $debug_level
  *
  * @return bool
  */
 public static function popBeforeSmtp($host, $port = false, $timeout = false, $username = '', $password = '', $debug_level = 0)
 {
     $pop = new self();
     return $pop->authorise($host, $port, $timeout, $username, $password, $debug_level);
 }