Affects Version/s: 4.5.2.010, 4.5.2.012, 126.96.36.199
Fix Version/s: 188.8.131.52
Sprint:February 2017 Release
The order how the mailservers are used for sendin mail is wrong.
The mailservers registered in the server context have currently priority before the ones in the web contextes.
In our situation we have multiple webcontextes and registered a bulk mailserver in the server settings. One customer needed his own mailserver, so we registered it in the webcontext. But when sending e-mails the mailserver in the server settings was used.
This is wrong. The webcontext-setting should have priority before the server-setting.
Micha gave me the following code for testing:
loop array=getPageContext().getConfig().getMailServers() item="ms"
I set the priority to "critical" because in our case it really was a showstopper for us. The workaround was to add the settings to the cfmail tag.