Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow array in smtp_host config #7296

Merged
merged 1 commit into from
May 16, 2020
Merged

Conversation

johndoh
Copy link
Contributor

@johndoh johndoh commented Mar 23, 2020

it is possible to configure an array of imap hosts but not smtp hosts so if not all your providers use the same naming conventions for their servers you can configure the imap but the smtp.

inspired by https://www.roundcubeforum.net/index.php/topic,28819.msg73532.html#msg73532

if this is accepted I'll update the config information in the wiki to include the array option, similar to what is there for the default_host option - i did not update the comments in defaults.inc.php because there is nothing there about the array option for the imap so I think the wiki is enough.

I've also fixed a bug in the installer which meant that the %h macro of smtp_server was never expanded and always returned blank.

@alecpl
Copy link
Member

alecpl commented Mar 28, 2020

Actually it is mentioned in "Leave blank to show a textbox at login, give a list of hosts to display a pulldown menu or set one host as string.". I'd like to have the array option mentioned in defaults.inc.php. Other than that it looks fine.

@alecpl alecpl merged commit 34a0af8 into roundcube:master May 16, 2020
@johndoh johndoh deleted the smtp_config branch May 16, 2020 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants