Uploaded image for project: 'Lucee Development'
  1. LDEV-550

Order of used mailservers is wrong (currently server first)

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.5.2.010, 4.5.2.012, 5.0.0.84
    • Fix Version/s: 5.2.1.0
    • Labels:
      None
    • Sprint:
      February 2017 Release

      Description

      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"

      { dump(ms.getHostName()); }

      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.

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              madmikede Michael Hnat
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: