[ 
https://issues.apache.org/jira/browse/JAMES-2785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam R updated JAMES-2785:
--------------------------
    Description: 
Email sent to [[email protected]|mailto:[email protected]] should 
to create a DNS bounce MIME multipart message with DSN reason message as first 
BodyPart and DSN report-type with action and status as second BodyPart but 
DSNBounce message doesn't contain boundaries for each BodyPart which causes 
problems to process it.

Code used to dump DSNBounce message:
{code:java}
ByteArrayOutputStream outStream = new ByteArrayOutputStream();
msg.writeTo(outStream);
String content = outStream.toString();
LOGGER.info("Raw DSN message: \r\n" + content);{code}

  was:
Email sent to [[email protected]|mailto:[email protected]] should 
to create a DNS bounce MIME multipart message with DSN reason message as first 
BodyPart and DSN report-type with action and status as second BodyPart but 
DSNBounce message doesn't contain boundaries for each BodyPart which causes 
problems to process it.

Code used to dump DSNBounce message:
{code:java}
ByteArrayOutputStream outStream = new ByteArrayOutputStream();
msg.writeTo(outStream);
String content = outStream.toString();
 LOGGER.info("Raw DSN message: \r\n" + content);{code}


> DNSBounce message without boundaries
> ------------------------------------
>
>                 Key: JAMES-2785
>                 URL: https://issues.apache.org/jira/browse/JAMES-2785
>             Project: James Server
>          Issue Type: Bug
>          Components: Matchers/Mailets (bundled)
>    Affects Versions: 3.0-beta4
>            Reporter: Adam R
>            Priority: Major
>
> Email sent to [[email protected]|mailto:[email protected]] should 
> to create a DNS bounce MIME multipart message with DSN reason message as 
> first BodyPart and DSN report-type with action and status as second BodyPart 
> but DSNBounce message doesn't contain boundaries for each BodyPart which 
> causes problems to process it.
> Code used to dump DSNBounce message:
> {code:java}
> ByteArrayOutputStream outStream = new ByteArrayOutputStream();
> msg.writeTo(outStream);
> String content = outStream.toString();
> LOGGER.info("Raw DSN message: \r\n" + content);{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to