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=30688>.
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=30688

SendMailTransformer Enhancment: Adds ability to specify mime-type for email body text

           Summary: SendMailTransformer Enhancment: Adds ability to specify
                    mime-type for email body text
           Product: Cocoon 2
           Version: 2.1.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: blocks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


This patch adds the ability to specify the sent email's body mime-type.  The original 
file supported only 
"text/html".  This patch allows the mime type to be specified by including a 
"mime-type" attribute in 
the <sendmail:body> tag.

The class is set to default to "text/html" when the mime-type is NOT specified in the 
interest of 
preserving compatibility with existing deployments.



Example:

<sendmail:body src="cocoon:/some/pipeline/file.txt" mime-type="text/plain" />

or

<sendmail:body mime-type="text/plain">

Hello, this is the first paragraph.
        
And this is the second paragraph, which will be followed by a text link that will 
automatically be 
converted into a link by the receiving email app.
        
</sendmail:body>

Reply via email to