thomascube
2012-01-10 b98e71900de9ea6c1e965e2a389b1a99166a944e
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)