[ https://issues.apache.org/jira/browse/JAMES-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier closed JAMES-351. -------------------------------- Resolution: Won't Fix James 2.3 is unmaintained, end of life. Feel free to reopen if work is planned on this. > allow "message/disposition-notification" to also attach (excerpts of) the > original > ---------------------------------------------------------------------------------- > > Key: JAMES-351 > URL: https://issues.apache.org/jira/browse/JAMES-351 > Project: James Server > Issue Type: Bug > Components: James Core > Affects Versions: 2.3.0 > Environment: debian sarge > Reporter: Ralf Hauser > Assignee: Norman Maurer > Priority: Major > > org.apache.james.util.mail.handlers.message_disposition_notification.writeTo() > blocks anything but Strings. > As per http://www.faqs.org/rfcs/rfc2298.html 3 (d), it is ok also: "If the > original message or a portion of the message is to be > returned to the sender, it appears as the third component of the > multipart/report", therefore the if statement should be replaced by > if (!((aPart instanceof String) || (aPart instanceof MimeMessage))) { > //as per http://www.faqs.org/rfcs/rfc2298.html 3 (d) > throw new IOException("Type \"" + aPart.getClass().getName() > + "\" is not supported."); > } > if ((aPart instanceof MimeMessage)) { > try { > ((MimeMessage) aPart).writeTo(aStream); > return; > } catch (Exception e) { > //log.error(e.getMessage()); > e.printStackTrace(); > throw new IOException(e.getMessage()); > } > } > multipart/reports of this form are handled well by Thunderbird, their > attachments are ignored by MS-Outlook 2003. > Sure, normally such a disposition notification is generated by the UA that > james is not to date. But if a UA were to reuse james classes (e.g. a web-app > on the server), this might be useful? > If that RFC is relevant, how about also adding it to > http://james.apache.org/rfclist.html? -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org