1 Reply Latest reply on Jul 10, 2014 8:55 AM by wdfink

    Receive email in Jboss

    ahmadyousaf

      Hi All,

       

      My apologies upfront if I'm asking a naive or dumb question.

      Here's my case: I want to enable Jboss so that I send an email to admin@mydomain.com and it's caught by my service running in Jboss and I want to save the content on a permanent storage.

      The issue is that I have no idea how to make Jboss act as a mail server and receive email. I have seen many examples on how to send email from Jboss but I was unable to find anything that how to receive email.

      In my setup, I do not have any email server setup. I want to receive email on my own domain rather than gmail or yahoo or something else.

       

      Can someone help me or guide me in the right direction.

       

      Thanks,

      Ahmad

        • 1. Re: Receive email in Jboss
          wdfink

          You might use a normal mail account to receive the mails.

          JBoss might use a timer (i.e. @Schedule timer in EJB3.1) to pull the mails from this account.

          This ensure that you are able to stop JBoss but continue to receive mails.

          I've did so in an application