This week's book giveaways are in the Cloud and AI/ML forums.
We're giving away four copies each of Cloud Native Patterns and Natural Language Processing and have the authors on-line!
See this thread and this one for details.
Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

JavaMail installation

 
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
 
Marshal
Posts: 67273
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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 ]
 
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
Marshal
Posts: 67273
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!