2 Replies Latest reply on Nov 2, 2009 8:52 PM by Jubril Adisa

    Sending Emails

    Jubril Adisa Novice

      I noticed that whenever my application server fails to contact my Mail Server, my application always fails. So i embedded the sending mail part within a try and catch
      but this does not help. Please can someone suggest a solution. I don't want the application to fail if sending mail fails






           @Asynchronous public void sendWelcomeMail(){
                try{
                renderer.render("/email/newUserMail.xhtml");
                }catch(Exception e){
                     log.info("Exception Sending mail");
                     //TODO Save Email
                }
           }