cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Éric BURGHARD (JIRA) <j...@apache.org>
Subject [jira] Commented: (COCOON-1603) [PATCH] handling of alternatives in MailTransformer
Date Sat, 14 Jan 2006 10:47:21 GMT
    [ http://issues.apache.org/jira/browse/COCOON-1603?page=comments#action_12362721 ] 

Éric BURGHARD commented on COCOON-1603:
---------------------------------------

AFAIR, this patch was backward compatible. I think it doesn't apply anymore with the trunk
because there have been a few changes since then.  This patch handle tags too, but allow your
mail client to choose the format of the message upon its security policy. A merge could be
interresting but perhaps not really trivial since i slightly refactor the code to unify the
concept of attachment and bodies.

The next thing in my todo list is to pick up some stylesheets from the forrest project to
generate the plain text version from the html one.

> [PATCH] handling of alternatives in MailTransformer
> ---------------------------------------------------
>
>          Key: COCOON-1603
>          URL: http://issues.apache.org/jira/browse/COCOON-1603
>      Project: Cocoon
>         Type: Improvement
>   Components: Blocks: Mail
>     Versions: 2.2-dev (Current SVN)
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Éric BURGHARD
>     Assignee: Cocoon Developers Team
>     Priority: Minor
>  Attachments: SendMailTransformer.java.patch
>
> Enable alternative format for the same content in MailTransformer. For example  
> you can write  
>  
> <email:sendmail>  
>  
>   <email:body mime-type="text/plain"> 
>     Hello World 
>   </email:body> 
>  
>   <email:body mime-type="text/html"> 
>     <html> 
>       <body> 
>         <h1>Hello World</h1> 
>       </body> 
>     </html> 
>   </email:body> 
>  
> </email:sendmail> 
>  
>  
> to enable a multipart/alternative sending. 
>  
> internaly, a body is just an attachment without name and without xml header.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message