found a ClassCastException in JMSMailListener.prepareBounceMessageForMail(), and am 
not sure how to proceed. may be a minor architectural issue needing original 
architect's advice :-)

issue is in logic looking at whether recipient is local or not, whether or not to add 
message to a failed list. logic assumes EnvelopedAddress, when in fact its a 
MailAddress, and MailAddress doesn't have a getLocal() method --- which is the 
architectural issue. i committed a small comment there to cvs.

i tried removing the code 'boolean local = ...' etc, leaving just the 
'failed.add(..)', and successfully got a bounce message when sending to a non-existent 
yahoo account (or maybe yahoo didn't like 'mail from:<[EMAIL PROTECTED]>'), but don't 
think this is the right solution since i basically removed the logic there which 
should be doing something useful.

mike


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835988#3835988

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835988


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to