Author Topic: add array and dropdown to username_domain  (Read 2369 times)

Offline egrogg

  • Jr. Member
  • **
  • Posts: 12
add array and dropdown to username_domain
« on: May 26, 2011, 08:33:26 AM »
hello,

not sure if I am to post this here but, I would like to add a dropdown list on my login screen with a selection to select what domain the user would like to select.

I seen I could add this to the default host as an array but I am not sure if that is where to change because I changed the

$rcmail_config['username_domain'] = 'mydomain.com';

so that the user could just enter their username...but now I would like to have a selection box to select the domain and still have them type their username only.

I also have my smtp setup for one domain...I am guessing I would need to change that also?

$rcmail_config['smtp_server'] = 'smtp.mydomain.com';

// SMTP port (default is 25; 465 for SSL)
$rcmail_config['smtp_port'] = 25;

// SMTP username (if required) if you use %u as the username Roundcube
// will use the current username for login
$rcmail_config['smtp_user'] = 'myusername@domain.com';

// SMTP password (if required) if you use %p as the password Roundcube
// will use the current user's password for login
$rcmail_config['smtp_pass'] = 'mypass';




Thanks!
Ernest
« Last Edit: May 26, 2011, 08:47:22 AM by egrogg »