[JBoss-dev] [Mail Services] - Re: bounce ClassCastException

2004-05-24 Thread kabkhan
I'll take a look a bit later today. Mike, do you have a use case that will cause this 
to happen?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836054#3836054

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836054


---
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=3149alloc_id=8166op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: bounce ClassCastException

2004-05-24 Thread mikea-xoba
thanks kab --- i was logged in as [EMAIL PROTECTED], user mikea, password in 
jboss-service.xml, on my own local machine's jboss server. i sent an email to [EMAIL 
PROTECTED] from jbmail logs, looks like yahoo didn't like '[EMAIL PROTECTED]' and 
rejected that. a few seconds later, got a classcastexception in jbmail logs. this was 
all in latest HEAD code. mike


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836090#3836090

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836090


---
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=3149alloc_id=8166op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: bounce ClassCastException

2004-05-24 Thread kabkhan
Fixed, the errors happening within SMTPSender are different when the server can't be 
reached, and when an account on a server is invalid. The invalid account exception 
(SendFailedException) returns a InternetAddress[]. Previously I created MailAddress 
from the failed ones, now I am creating EnvelopedAddress w/local=false.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836125#3836125

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836125


---
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=3149alloc_id=8166op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: bounce ClassCastException

2004-05-23 Thread spiritualmechanic
What happens when you do a 

rcpts.getClass().getName()?

This should tell you what class is actually it's expecting. You may already know this 
sort of thing, not trying to be insulting.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835995#3835995

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835995


---
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=3149alloc_id=8166op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: bounce ClassCastException + NUKES FORUM BUGS

2004-05-23 Thread mikea-xoba
no problem steve, i positively appreciate any time someone can spend to help me 
understand this or any other issue! thanks.

i did a logger.info(rcpts.getClass()), which showed a MailAddress, and not an 
EnvelopedAddress. that also explains the ClassCastException. 

-

btw --- this new jboss forum website design has a nasty side-effect: if you resize the 
browser window in IE while composing, you risk completely losing your post when page 
is re-layed-out (happened to me once on this message already). not sure which html or 
javascript is responsible for that. 

p.s., trying to resize browser window after *previwing* one's post results in IE error 
message 'can't refresh without re-sending information'. so i think the reason is maybe 
due to some errant javascript, resizing browser window translates into a 'refresh' 
instead --- there's tons of javascript in these web pages.

p.p.s: another weird new forum 'feature' is this automatic italicization you probably 
see in this post. have no idea how that happens either, and i never usually speak in 
italics!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835999#3835999

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835999


---
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=3149alloc_id=8166op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: bounce ClassCastException

2004-05-23 Thread acoliver
This is kabir's code.  I think the logic only takes place if say the server doesn't 
exist.  Yahoo would generate the bounce message if it was justa non-existent account.  
Whats weird is it seems like the bounce code is working...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836007#3836007

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836007


---
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=3149alloc_id=8166op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development