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 24388] New: - Enhanced Sendmail action....
Date Tue, 04 Nov 2003 14:24:09 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24388>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24388

Enhanced Sendmail action....

           Summary: Enhanced Sendmail action....
           Product: Cocoon 2
           Version: 2.1.2
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: general components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: andrzej@chaeron.com


I've enhanced the Sendmail action so that you can specify a source to use to get 
the content for the body of the email you wish to send.  This lets you generate 
the body out of a pipeline (cocoon:/ pseudo protocols work great here).  

Basically added two parameters to Sendmail as follows:

src - to specify the URL of the body source.
srcMimeType - (optional) to specify the Mime Type of the src.

If you specify src, then the body parameter is ignored.

This required changes to two files: 

   org.apache.cocoon.acting.Sendmail
   org.apache.cocoon.mail.MailMessageSender

Source for both files is attached.

.....Andrzej

Mime
View raw message