• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaMail installation

 
Alex Kravets
Ranch Hand
Posts: 476
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64618
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Robert Paris
Ranch Hand
Posts: 585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Alex Kravets
Ranch Hand
Posts: 476
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64618
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Alex Kravets
Ranch Hand
Posts: 476
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Bear,
May be someone will help here...
 
Alex Kravets
Ranch Hand
Posts: 476
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aggh....stupid me!
File was not on the server!
Sorry!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic