Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-4835

outboundSMTP-context.xml missing key properties for authentication

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4.5
    • Component/s: Repository
    • Labels:
      None
    • Bug Priority:
      Category 2

      Description

      Authenticated outbound email is not working as its missing the property being set for "mail.smtp.auth". It may also be worth adding a property for "mail.debug" so admins can enable debugging on SMTP libraries if required. This was correctly set in previous versions of Alfresco

      See corrected XML for mailService bean below (added to the javaMailProperties):

      <bean id="mailService" class="org.springframework.mail.javamail.JavaMailSenderImpl">
      <property name="host">
      <value>${mail.host}</value>
      </property>
      <property name="port">
      <value>${mail.port}</value>
      </property>
      <property name="protocol">
      <value>${mail.protocol}</value>
      </property>

      <property name="username">
      <value>${mail.username}</value>
      </property>
      <property name="password">
      <value>${mail.password}</value>
      </property>
      <property name="defaultEncoding">
      <value>${mail.encoding}</value>
      </property>
      <property name="javaMailProperties">
      <props>
      <prop key="mail.smtp.auth">${mail.smtp.auth}</prop>
      <prop key="mail.debug">${mail.debug}</prop>
      <prop key="mail.smtps.auth">${mail.smtps.auth}</prop>
      <prop key="mail.smtps.starttls.enable">${mail.smtps.starttls.enable}</prop>
      </props>
      </property>

      </bean>

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  dgildeh dgildeh
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel