Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12244

Sent mails are missing the UTF-8 charset in the "Content-Type" header

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.1
    • Fix Version/s: 7.2-milestone-1, 7.1.2, 6.4.5
    • Component/s: Mail
    • Labels:
      None
    • Tests:
      Unit, Integration
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Hello,
      When I use XWiki.Mail object to send a message with http://extensions.xwiki.org/xwiki/bin/view/Extension/Mail+Sender+API

      Charset in mail header missing.

      Without mail template a workarround is

      #set ($discard = $message.addPart("text/plain", $ContMessage, {"mimetype', "text/plain ; charset=utf-8"}))
      

      Thxs

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              Pbas Pascal BASTIEN
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: