Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1057

wrong property name encoding for mailSender

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0.M1
    • Fix Version/s: 1.1.0.M2
    • Component/s: ENTERPRISE
    • Labels:
      None

      Description

      command:

      email sender setup --hostServer xxx --encoding xxx --protocol xxx --port xxx --username xxx --password xxx

      result:

      <bean class="org.springframework.mail.javamail.JavaMailSenderImpl" id="mailSender">
              <property name="host" value="${email.host}"/>
              <property name="port" value="${email.port}"/>
              <property name="encoding" value="${email.encoding}"/>
              <property name="username" value="${email.username}"/>
              <property name="password" value="${email.password}"/>
      </bean>

      Class JavaMailSenderImpl have not property "encoding". There is property "defaultEncoding"

        Attachments

          Activity

            People

            Assignee:
            sschmidt Stefan Schmidt
            Reporter:
            dzmitry Dzmitry Barouka
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: