Benoit Tellier created JAMES-4058:
-------------------------------------

             Summary: TextCalendarBodyToAttachment screw up text/calendar parts
                 Key: JAMES-4058
                 URL: https://issues.apache.org/jira/browse/JAMES-4058
             Project: James Server
          Issue Type: Bug
    Affects Versions: master
            Reporter: Benoit Tellier


Given

{code:java}
Content-type: text/calendar; method=REPLY; charset=UTF-8
Content-transfer-encoding: 8BIT

BEGIN:VCALENDAR
{code}

as an input, the mailet generates

{code:java}
Content-Type: multipart/mixed; 
        boundary="----=_Part_4_870759734.1724139960082"
MIME-Version: 1.0
Date: Tue, 20 Aug 2024 09:46:00 +0200 (CEST)
Message-ID: <1988962280.5.1724139960085@hp-HP-ProBook-440-G5>

------=_Part_4_870759734.1724139960082
BEGIN:VCALENDAR
Content-type: text/calendar; method=REPLY; charset=UTF-8
Content-transfer-encoding: 8BIT
Content-Disposition: attachment
{code}

Notice the part have content first then headers and not as expected headers 
then content...

Likely javax.mail semantic on message composition had been im



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to