Package br.com.caelum.vraptor.simplemail.aws

Examples of br.com.caelum.vraptor.simplemail.aws.AmazonSESMailer


  @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.aws.AmazonSESMailer

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.