3 Replies Latest reply on Apr 18, 2006 5:59 PM by acoliver

    MDB that receive mails

    nicoescribal

      Hello.
      I need to know how to do a Message Driven Bean that consumes mails of a particular account. I am using JBMS and I want that my Message Driven Bean will receive the mails (for example) for user@localhost each time my mail server receives them.
      If this is empossible with JBMS, what can I do to make that a Session Bean treats the mails for this account?
      I want to know this because I've tried to do this with the events of the mail server (events of the Java MAil API, for exaple MessageCount) and it hasn´t worked.