0 Replies Latest reply on Jan 25, 2005 10:36 AM by davout

    How best to retrieve and process emails from JBoss JavaMail?

    davout Newbie

      I'm building a JBoss app that includes a business process where an email is dispatched to an external email address and later (asynchronously) a return email is expected back from the original email target.

      I've setup the JBoss JavaMail service so that the emails can be sent and retrieved from an external email server.

      Originally I'd thought that I could setup a JMS queue that maps to the external mail server inbox, but I can't find any docs to support this.

      So what is the best way of retrieving emails and then kicking off a business process for each email?

      Should I think about using the Scheduler/timer facility to retrieve emails and then for each email add an entry to a JMS queue?