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

Set mail message encoding to UTF-8

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2 (Tycho)
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: