This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

recieving mail

 
priti agarwal
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have coded for sending mail but how to code for recieving mail?what classes of javamail should be used.?please give an example
 
Ivan Jozsef Balazs
Rancher
Posts: 972
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What classes did you use to send e-mail?

The Java Mail package (part of EE but also available separately) can handle sending and receiving e-mails.
 
Ivan Jozsef Balazs
Rancher
Posts: 972
5
 
Nam Ha Minh
Ranch Hand
Posts: 502
Eclipse IDE Firefox Browser Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi priti agarwal,

Here's an example for your reference:

Receive e-mail messages from a POP3-IMAP server
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic