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 Enve
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 classcaste
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=bb&op=viewtopic&p=3836054#3836054
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836054
---
right --- don't know why, but may be because the ClassCastException is being caught
somewhere else... i apologize for not completely tracing it through yet. will check
into it. mike
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836044#3836044
Reply to the
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=b
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.
-
bt
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=bb&op=viewtopic&p=3835995#3835995
Reply to t