May 2001
Intermediate to advanced
1088 pages
30h 13m
English
My SMTP server tells me that it won't forward a message.
Either the sender or the recipient of the message must belong to the same domain as the SMTP server, or at least the computer you're running your program on must be in the same domain. Forwarding usually invites spammers to forward spam through your server.
| Q1: | If I try to send mail with a sender that doesn't exist, why won't Java Mail let it through? |
| Java Mail checks the sender to make sure it is a valid email address. If you really need to send such mail, use the SMTPSession class. |
| Q1: | Why do I get a ClassNotFoundException for javax.activation.DataSource when I try to use the Java Mail API? |
| The Java Mail API also needs the Java Beans Activation ... |
Read now
Unlock full access