Hello,
If anybody want to login via username only without @domain.com, he can do the following:
Edit the file: program/include/main.inc
Inside the function rcmail_login($user, $pass, $host=NULL), after the :
global $CONFIG, $IMAP, $DB, $sess_user_lang;
$user_id = NULL;
add these lines:
$headers = apache_request_headers();
foreach ($headers as $header => $value) {
if($header=='Host'){
$str=explode(".",$value,2);
$user.='@'.$str[1];
}
}
Then we can login using username only, there is no need to provide the full email address.
Good Luck for every body.
