You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org> on 2006/03/30 09:42:27 UTC

[jira] Commented: (COCOON-1818) SendMailTransformer misses closing tag when recipient address is malformed

    [ http://issues.apache.org/jira/browse/COCOON-1818?page=comments#action_12372389 ] 

Jean-Baptiste Quenot commented on COCOON-1818:
----------------------------------------------

Simone, it's a very good idea to propagate exceptions.  Indeed it makes no sense to catch the exceptions and report them in the pipeline result.  The same applies to many Cocoon components, like SQLTransformer.

> SendMailTransformer misses closing tag when recipient address is malformed
> --------------------------------------------------------------------------
>
>          Key: COCOON-1818
>          URL: http://issues.apache.org/jira/browse/COCOON-1818
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: Mail
>     Reporter: Jasha Joachimsthal
>  Attachments: sendmail-exceptions.diff
>
> When a recipient address contains an illegal character (, ; <space> a@b@com etc), an exception is being thrown by method sendMail(List newAddresses, Transport trans).
> The execution of the try in method sendMail() is stopped which may have created a <email:result> tag. 
> No </email:result> end tag is created when this occurs.

-- 
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