Nur,
I had the same issue you have. I did not wish to enter my full email address into the login each time. Some of our hosted domain names are quite lengthy.
If you are using the latest version of RoundCube, you may try the fix that I did for the SMTP User.... here is the changed code in the /config/main.inc.php:
// SMTP username (if required) if you use %u as the username RoundCube // will use the current username for login $rcmail_config['smtp_user'] = '%u' . '@' . '' . str_replace("www.", "", $_SERVER['HTTP_HOST']); //note that the above variable setting should be on one line
Now, what it does. Well it finds the "www.domain.com" from your browser for where your roundcube installation is at. It then takes off the www. portion. It then adds an "@" symbol to it making it "@domain.com". Then it adds the username that you provide on the login screen.
So, if you go to "http://www.domain.com/roundcube/" it comes up with "@domain.com". And then when you type in "user" as your username, it processes "user@domain.com" in the login.
Hope this makes some sense, or helps in some way. Let me know.
Kevin L.
Nur Sarowar wrote:
I guess there must be way to set host part into script setting so that user only have to put username only. Trying to make things easier for user.
On 11/2/05, * david l goodrich* <dlg@dorkzillaorg mailto:dlg@dorkzilla.org> wrote:
Nur Sarowar wrote: > Hello, > At Online Demo : http://demo.roundcube.net/ Only User name required > (roundcube_demo) not the host name with username ( > roundcube_demo@roundcube.net <mailto:roundcube_demo@roundcube.net> <mailto:roundcube_demo@roundcube.net <mailto:roundcube_demo@roundcube.net>>). But > when I installed the script into my host I need to input username with > host. > > From where I can select username name only login option and set my > hostname as default. > > Thanks that's a mail-server setting, not a roundcube setting. are you on a virtual host of some sort? if your imap server requires your full email address, there's nothing you can do about it. --david