java sendfailedexception

Hi,

When I try to send a mail from my app it is throwing

javax.mail.SendFailedException: Sending failed;

nested exception is:

class javax.mail.SendFailedException: Invalid Addresses;

nested exception is:

class javax.mail.SendFailedException: 598 mail is rejected

any ideas?

[324 byte] By [vrajkumar09a] at [2007-11-27 9:39:30]
# 1

Looks like your mail server doesn't want to accept mail from you.

The error message from the mail server isn't very clear about why

it isn't accepting your mail so we have to guess. One guess would be

that it wants you to login first. See the JavaMail FAQ for how to authenticate

to your mail server.

bshannona at 2007-7-12 23:15:02 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
One more thing I found is ,it throws this exception while sending the mail with attachment. It working fine without attachments.
vrajkumar09a at 2007-7-12 23:15:02 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
is the message size too large for the server with the attachment? is the attachment an executable of some type?
zparticlea at 2007-7-12 23:15:02 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...