Uploaded image for project: 'Commons Email'
  1. Commons Email
  2. EMAIL-142

HtmlEmail with both html and text provided has invalid content-type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.2
    • 1.4
    • None

    Description

      If I set both html and plain text for HtmlEmail i.e.:

      email.setHtmlMsg(htmlMessage);
      email.setTextMsg(plainTextMessage);

      then message which is sent has Content-type: multipart/mixed;
      This content type is recognized for example by Mozilla Thunderbird as a message with attachment.

      Correct content-type for this kind of email is Content-type: multipart/alternative;

      Attachments

        Activity

          People

            Unassigned Unassigned
            marcintomiak Marcin Tomiak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.25h
                0.25h
                Remaining:
                Remaining Estimate - 0.25h
                0.25h
                Logged:
                Time Spent - Not Specified
                Not Specified