J
junisalico
Hey all,
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
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1161)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:554)
at javax.mail.Transport.send0(Transport.java:169)
at javax.mail.Transport.send(Transport.java:98)...
.......
-----------------------------------
Does anybody know why I can send an e-mail successfully to the same
address that I am getting it but I get the "Invalid Addresses"
exception thrown when I try to send it to a different address (even
though I tried many e-mails).
Thanks, Jay
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
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1161)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:554)
at javax.mail.Transport.send0(Transport.java:169)
at javax.mail.Transport.send(Transport.java:98)...
.......
-----------------------------------
Does anybody know why I can send an e-mail successfully to the same
address that I am getting it but I get the "Invalid Addresses"
exception thrown when I try to send it to a different address (even
though I tried many e-mails).
Thanks, Jay