cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33537] New: - MIME type for attachments sent via sendmail action is always text/xml
Date Sat, 12 Feb 2005 18:15:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33537>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33537

           Summary: MIME type for attachments sent via sendmail action is
                    always text/xml
           Product: Cocoon 2
           Version: Current SVN 2.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: blocks
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: tschlabach@apache.org


When using the attachment parameter to attach the result of a Cocoon pipeline to
an email the mime type of the attachment is always set to text/xml, independent
of the actual mime type of the file. This leads to the attachments no being
properly handled in most MUAs, for example when attaching a PDF.

The sample sitemap:

  <map:act type="sendmail">
    <map:parameter name="src" value="cocoon://email"/>
    <map:parameter name="attachments"
                   value="cocoon://attachment.pdf"/>
  </map:act>

When calling the attachment.pdf pipeline directly from the browser the MIME type
is set correctly. Is seems to get lost on its way into the attachment.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message