Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

fetching an Email through java mail  RSS feed

 
venkata mandadi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I want to fetch an Email from outlook through javamail API. is it necessary to use JMS API to solve this. pls send me the solution asap.

Regards,
vishnu
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

Outlook is an email client - you can't retrieve mail from it using JavaMail. Do you mean Exchange? If so, then, yes, JavaMail is the right API to do so. JMS, on the other hand, is used connect to messaging servers, and has nothing to do with mail. The JavaRanch J2EE FAQ has some links to introductory articles and JavaMail FAQs.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!