• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

recieving mail

 
priti agarwal
Greenhorn
Posts: 1
  • 0
  • 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
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search engines are our friends.
 
Nam Ha Minh
Ranch Hand
Posts: 502
Eclipse IDE Firefox Browser Windows
  • 0
  • 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