1 2 Previous Next 18 Replies Latest reply on Aug 24, 2006 1:33 PM by adam.stortz Go to original post
      • 15. Re: Seam mailer component
        pmuir

        Yes, linked as 'Email Component' under 'Components'.

        • 16. Re: Seam mailer component
          adam.stortz

          Pete,

          Again, great job on another excellent Seam component.

          One issue I am running into is setting the Port. If I use components.xml to set the port, it throws an exception on deployment:
          no property for configuration setting: emailSession.port

          and if I set it programmatically on the email session before calling send, and then call configureSesion, it completely ignores it and uses port 25.

          thoughts?

          Adam

          • 17. Re: Seam mailer component
            pmuir

            Adam,

            Thanks :)

            I've put up a new zip which should allow you to set the port from components.xml (I was using setPort(Interger port), when components.xml configuration requires setPort(String port)).

            You can only call configureSession once, subsequent calls are ignored.

            HTH

            • 18. Re: Seam mailer component
              adam.stortz

              Pete,

              I thought that might be the issue. I can not find your new zip, so I made the change to the code myself, and it works like a champ.

              One more question. Is there a way to tell this component to use secure smtp?

              Adam

              1 2 Previous Next