0 Replies Latest reply on Sep 23, 2010 6:02 AM by Luca Becarelli

    Mail resource doesn't exist

    Luca Becarelli Newbie

      Hello ,
      i have problem with mail.
      In theory send mail with seam is very cool.


      In my code i have add


      @In private Renderer renderer;


      public void sendMAil()
           {
                // Invio email
                try {
                renderer.render(/testMail.xhtml);
                } catch (Exception e) {
                     e.printStackTrace();
                }
           }


      in console i found:
      java.lang.IllegalArgumentException: resource doesn't exist: /testMail.xhtml
      at org.jboss.seam.ui.facelet.RendererRequest.faceletForViewId(RendererRequest.java:123)


      I'm secure that the name and the path of the view is correct.


      Did anybody have a same problem? Does it need some extra configuration?



      Many thanks in advance.


      Luca