alecpl
2012-01-03 fdff34093d479f1a9cb98107b68eb9137278b181
program/include/rcmail.php
@@ -750,11 +750,15 @@
   * @param string IMAP user name
   * @param string IMAP password
   * @param string IMAP host
   *
   * @return boolean True on success, False on failure
   */
  function login($username, $pass, $host=NULL)
  {
    $user = NULL;
    if (empty($username)) {
      return false;
    }
    $config = $this->config->all();
    if (!$host)