Hi guys, I posted this message in 'Other Java APIs' forum, but I see that questions do not get answered there very often, so trying here.
I don't think JavaMail is installed by default in J2EE 1.3 -- correct me if I am wrong. If it's not, where do I download it and how do I install it. I went to http://java.sun.com/products/javamail, but all I could find there was JavaMail API. thanks, Alex
All right brain, you don't like me and I don't like you, but let's just do this one thing so I can get back to killing you with beer.<br /> <br />- Homer Simpson
Sun's site will never win any awards for clarity. The JavaMail API is what you want to download. Buried in the .zip file you will find mail.jar. bear P.S. Unless things have changed, you'll also need to rout out activation.jar from somewhere. [ January 13, 2004: Message edited by: Bear Bibeault ]
It IS a part of J2EE 1.3, so no need to install it. Oh, and activation.jar is ALSO a part of J2EE 1.3 so no need to install that either. [ January 13, 2004: Message edited by: Robert Paris ]
thanks guys, got it running. However, another problem. I am trying to attach a file with my mail, but get errors:
Error received: Sending failed; nested exception is: javax.mail.MessagingException: IOException while sending message; nested exception is: java.io.IOException: No content
Does this mean it does not read my file? The file is in /var/apache/htdocs/tmp/ directory. thanks, Alex
All right brain, you don't like me and I don't like you, but let's just do this one thing so I can get back to killing you with beer.<br /> <br />- Homer Simpson
OK, at this point we've clearly gone beyond anything remotely to do with JSP (one could argue that the config issue was at least web-app related) so I'm going to remand this back to the Other Java APIs forum. (Alex, I understand your concern about that forum getting less traffic than this one, but we're clearly off-topic at this point). bear
All right brain, you don't like me and I don't like you, but let's just do this one thing so I can get back to killing you with beer.<br /> <br />- Homer Simpson
Aggh....stupid me! File was not on the server! Sorry!
All right brain, you don't like me and I don't like you, but let's just do this one thing so I can get back to killing you with beer.<br /> <br />- Homer Simpson
You ridiculous clown, did you think you could get away with it? This is my favorite tiny ad!
a bit of art, as a gift, that will fit in a stocking