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

Jasha Joachimsthal commented on COCOON-1818:
--------------------------------------------

My solution was like #3 (not sure whether email:error should be inside 
email:result or outside like it is now) but the last time I did something in 
Java was in the 20th century so I want someone else at Hippo to have a look at 
it. :)

Other thing. If you send it to 10 addresses and it creates an exception, at 
address 6, it stops and 7-10 won't get the mail. Is this behaviour correct, 
disirable or not?

> 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> [EMAIL 
> PROTECTED]@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

Reply via email to