cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Helma van der Linden (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COCOON-1818) SendMailTransformer misses closing tag when recipient address is malformed
Date Thu, 30 Mar 2006 16:04:26 GMT
    [ http://issues.apache.org/jira/browse/COCOON-1818?page=comments#action_12372459 ] 

Helma van der Linden commented on COCOON-1818:
----------------------------------------------

Sorry to chip in so late, but when I was looking at this class I noticed a FIXME that states
that it would be a good idea to use the same MailSender component that is used for the SendMailAction
and SendMail XSP logicsheet.

I've started working on this and it seemed rather straightforward, but unfortunately something
crashed and I lost the modified code before I was able to properly finish and test it.

So how about killing two birds with one stone and see if the class can be improved by using
the MailSender component as well as fixing this bug? Maybe using the component already fixes
this bug. At the very least, the behaviour will be consistent.

> 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, sendmail-exceptions2.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


Mime
View raw message