6 Replies Latest reply on Aug 29, 2007 6:50 AM by tony.herstell1

    Seam Mail

    tony.herstell1

      Using gmail for outgoing mail I get:


      14:32:10,796 INFO [UserDetailsControllerImpl] Email sending failed: javax.faces.FacesException: Exception reading response


      The email (and attachments) DOES go!

      Anyhow...

      Catching the exception and looking further back into the exception tree I see this:

      Unsupported record version Unknown-50.49


      Any idea whats up?

      components.xml =>
       <mail:mail-session host="smtp.gmail.com" username="tony.herstell@gmail.com" password="xxxxxxxxx" ssl="true" port="465"/>
      






        • 1. Re: Seam Mail
          pmuir

          Post the exception stack trace.

          • 2. Re: Seam Mail
            tony.herstell1

            Sorry pete.. its a bit short:

            21:35:09,843 INFO [MailSession] Creating JavaMail Session (smtp.gmail.com:465)
            21:35:09,843 INFO [MailSession] connected to mail server
            21:35:15,437 INFO [UserDetailsControllerImpl] Email sending failed: javax.faces.FacesException: Exception reading response
            21:35:15,687 INFO [UserDetailsControllerImpl] > destory
            21:35:15,703 INFO [UserDetailsControllerImpl] < destory
            


            • 3. Re: Seam Mail
              pmuir

              Ok, post your UserDetailsControllerImpl (make sure you aren't catching and logging the exception message here, I think you are), and turn on Seam mail debugging in components.xml

              • 4. Re: Seam Mail
                tony.herstell1

                All the info you wanted sent to you.

                • 5. Re: Seam Mail
                  pmuir

                  Whats the output if you turn on Seam mail debugging?

                  • 6. Re: Seam Mail
                    tony.herstell1

                    Bits of software lying all over the floor here... when I have glued it all back together ill try...
                    Ruthlessly refactor!
                    I assume setting seam mail to debug is just a matter of some config somewhere...