Package com.google.sitebricks.mail.test.integration

Source Code of com.google.sitebricks.mail.test.integration.TestImap

package com.google.sitebricks.mail.test.integration;

import org.apache.james.imapserver.netty.IMAPServer;

/**
* @author Mike Bain (mike@thealphatester.com)
*/
public class TestImap {
  public static void main(String args[]) {

    IMAPServer imapServer = new IMAPServer();


    imapServer.setPort(7878);

    try {
      imapServer.start();
    } catch (Exception e) {
      e.printStackTrace()//To change body of catch statement use File | Settings | File Templates.
    }

    System.out.println("'Imap server started on port: " + imapServer.getPort() + "'");
  }
}
TOP

Related Classes of com.google.sitebricks.mail.test.integration.TestImap

TOP
Copyright © 2018 www.massapi.com. 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.