Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-2394

Set mail message encoding to UTF-8

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2 (Tycho)
    • Component/s: None
    • Labels:
      None

      Description

      To send mails with nonlatin symbols in subject should set encoding to setSubject calling.
      com/evolveum/midpoint/notifications/impl/api/transports/MailTransport.java:161
      replace

      mimeMessage.setSubject(mailMessage.getSubject());

      by

      mimeMessage.setSubject(mailMessage.getSubject(), "utf-8");

        Attachments

          Activity

            People

            Assignee:
            gubber Alexey Vashchenkov
            Reporter:
            gubber Alexey Vashchenkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: