3 Replies Latest reply on Aug 16, 2010 4:25 PM by cash1981

    Seam email

    shanghanyu

      Hi, I am trying to setup email in a seam-gen project, but I can't get it to work, it keeps giving me java.lang.NullPointerException. I didn't do any configuration to seam project as said in seam reference.


      Do I need to do some configurations? Could anybody show me the configuration to setup the email in seam-gen project, thanks

        • 1. Re: Seam email
          cash1981

          You might find some answers in this blog

          • 2. Re: Seam email
            shanghanyu

            Thanks. Shervin.


            I think I got the setup part OK now. How do I specify the host, username, password and port. Are those all been done in the components.xml file.
            I've already done those settings in the components.xml but still getting no such server exception. Are there any other settings that I should add to the program, or do I have to create a bean to maintain the server, user and port?


            Thanks in advance.

            • 3. Re: Seam email
              cash1981

              Should be enough to put in components.xml
              Have you looked at the seam documentation?