Package br.com.caelum.vraptor.simplemail

Examples of br.com.caelum.vraptor.simplemail.DefaultAsyncMailer


  @Override
  public void init() throws ServletException {
    try {
      ServletBasedEnvironment env = new ServletBasedEnvironment(this.getServletContext());
      ExecutorService pool = Executors.newCachedThreadPool();
      DefaultAsyncMailer impl = new DefaultAsyncMailer(pool, new AmazonSESMailer(env));
      mailer = new ErrorMailer(impl, env);
    } catch (IOException e) {
      throw new ServletException("Unable to initialize error servlet", e);
    }
  }
View Full Code Here

TOP

Related Classes of br.com.caelum.vraptor.simplemail.DefaultAsyncMailer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.