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

wrong property name encoding for mailSender

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.0.M1
    • 1.1.0.M2
    • ENTERPRISE
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: