Skip to content

Added support for arrays for smtp_user and smtp_pass config options#10083

Open
jce-zz wants to merge 1 commit intoroundcube:masterfrom
jce-zz:master
Open

Added support for arrays for smtp_user and smtp_pass config options#10083
jce-zz wants to merge 1 commit intoroundcube:masterfrom
jce-zz:master

Conversation

@jce-zz
Copy link

@jce-zz jce-zz commented Feb 3, 2026

With Roundcube 1.6 the possibility was added to have more than one SMTP host, i.e. define an array of SMTP hosts, which get selected based on the IMAP host used for the logged in user. However, one could still only define a single smtp_user and smtp_pass or use the IMAP user and password (%u, %p) as credentials. For many scenarios, this is not sufficient and therefore I added the same mechanism that is used to select the SMTP host based on the IMPA host to select the SMTP user and SMTP password both defined in arrays similar to SMTP host.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant