> I'm trying to use javamail to send a simple e-mail through an applet.
> Right now I can successfully send a simple e-mail from one of my e-mail
> addresses to that same address. However, when I try to send an e-mail
> to a different address I get the following exception thrown:
> ------------------------------------
> javax.mail.SendFailedException: Invalid Addresses

Signature
Chris Smith - Lead Software Developer / Technical Trainer
MindIQ Corporation
> Hmm. So mail only goes through if the from and two address is the same?
> Or perhaps it's if the to address is in a certain group (such as some
> domain) to which all of your addresses belong? The latter would make
> more sense.
In my case mail only goes through if the from and to address is the
same (although I can have only one address in my current domain so I
cannot test that case). But I have tried many other e-mails such as
myname@gmail.com, myname@yahoo.com, myname@hotmail.com and none of them
work.
Chris Smith - 10 Jul 2006 03:02 GMT
> > Hmm. So mail only goes through if the from and two address is the same?
> > Or perhaps it's if the to address is in a certain group (such as some
[quoted text clipped - 6 lines]
> myname@gmail.com, myname@yahoo.com, myname@hotmail.com and none of them
> work.
So if you send mail both from and to a hotmail address, it works? If
so, I'm not sure what's going on. If not, then it seems quite likely
that you're running into problems with the spam protection on the mail
server.

Signature
Chris Smith - Lead Software Developer / Technical Trainer
MindIQ Corporation