Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-9322

mail transport config not taken in account in SendMail automation operation

    XMLWordPrintable

    Details

    • Impact type:
      Configuration format change
    • Upgrade notes:
      Hide

      In tomcat environment, for hot-fixed instance, if protocol switch needed, apply the attached templates using the following command in the nuxeo runtime

      patch -p0 << /tmp/templates.patch

      Here is the configuration changes applied :

      • the mail session is bound into the JNDI using the nuxeo's resource factory org.nuxeo.ecm.platform.ec.notification.email.EmailResourceFactory.
      • The 'mail.smtp.' and 'mail.pop3.' properties have been renamed respectively into 'mail.transport.' and 'mail.store.'.
      • user credentials may be filled for both protocols using the keys 'mail.user' and 'mail.password' or by protocols using the keys 'mail. {protocol}.user' and 'mail.{protocol}

        .password' and properties are enabled by protocol using the keys user and password.

      For jboss environment, you should edit by hand the mail service configuration in jboss templates and apply the same parameters changes

      Show
      In tomcat environment, for hot-fixed instance, if protocol switch needed, apply the attached templates using the following command in the nuxeo runtime patch -p0 << /tmp/templates.patch Here is the configuration changes applied : the mail session is bound into the JNDI using the nuxeo's resource factory org.nuxeo.ecm.platform.ec.notification.email.EmailResourceFactory . The 'mail.smtp. ' and 'mail.pop3. ' properties have been renamed respectively into 'mail.transport. ' and 'mail.store. '. user credentials may be filled for both protocols using the keys 'mail.user' and 'mail.password' or by protocols using the keys 'mail. {protocol}.user' and 'mail.{protocol} .password' and properties are enabled by protocol using the keys user and password . For jboss environment, you should edit by hand the mail service configuration in jboss templates and apply the same parameters changes

      Description

      The transport handler used by org.nuxeo.ecm.automation.core.mail.Mailer.Message.send is chosen given the email destination format which is always rfc822. This makes the mailer always use the smtp regardless the default transport configuration.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: