Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 20551 invoked from network); 12 Feb 2005 18:22:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Feb 2005 18:22:53 -0000 Received: (qmail 13973 invoked by uid 500); 12 Feb 2005 18:22:51 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 13938 invoked by uid 500); 12 Feb 2005 18:22:51 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 13924 invoked by uid 99); 12 Feb 2005 18:22:51 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 12 Feb 2005 10:22:49 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j1CIMhYI028423 for ; Sat, 12 Feb 2005 19:22:43 +0100 Received: (from nobody@localhost) by ajax.apache.org (8.12.11/8.12.11/Submit) id j1CIMhVk028421; Sat, 12 Feb 2005 19:22:43 +0100 Date: Sat, 12 Feb 2005 19:22:43 +0100 Message-Id: <200502121822.j1CIMhVk028421@ajax.apache.org> From: bugzilla@apache.org To: dev@cocoon.apache.org Subject: DO NOT REPLY [Bug 33537] - MIME type for attachments sent via sendmail action is always text/xml X-Bugzilla-Reason: AssignedTo X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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 ------- Additional Comments From tschlabach@apache.org 2005-02-12 19:22 ------- The problems must be somewhere in src/blocks/mail/java/org/apache/cocoon/mail/MailMessageSender.java: Source source = resolver.resolveURI(this.src); sourcesList.add(source); if (source.exists()) { ds = new SourceDataSource( source, (this.srcMimeType == null ? source.getMimeType() : this.srcMimeType), this.src.substring(this.src.lastIndexOf('/') + 1)); } My guess would be that the component which is returned by resolver.resolveURI(this.src) for a cocoon: URL will be some CocoonResolver? (I could not find any class with that name.) And that component always returns a mime type of text/xml instead of the MIME type which is the result of the pipleline. -- 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.