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 30688] New: - SendMailTransformer Enhancment: Adds ability to specify mime-type for email body text
Date Mon, 16 Aug 2004 05:19:55 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=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: dev@cocoon.apache.org
        ReportedBy: john@arachnedesign.net


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>

Mime
View raw message