Pranjut
Pranjut

Reputation: 1767

apache james, jsp servlet

I am trying to make a mail application through apache james, but I could not really get all the things, please give suggestions how to use it. MOreover, I could not figure it how to use jsp and servlet for james. Please help.

Upvotes: 1

Views: 422

Answers (1)

David Rabinowitz
David Rabinowitz

Reputation: 30448

According to the comments there are two actions you want to do:

  • Send emails - quite easy with the JavaMail API
  • Retrieve emails - You can do it with the JavaMail API using either IMAP or POP3. Set A scheduler to trigger the retrieval. (either Quartz. cron job + servlet, or perhaps even the Java timer will do)

Upvotes: 2

Related Questions