use of org.subethamail.wiser.Wiser in project motech by motech.
the class EmailBundleIT method setUp.
@Before
public void setUp() {
smtpServer = new Wiser(8099);
smtpServer.start();
}
use of org.subethamail.wiser.Wiser in project tutorials by eugenp.
the class SpringBootMailIntegrationTest method setUp.
@Before
public void setUp() throws Exception {
final int TEST_PORT = 8025;
wiser = new Wiser(TEST_PORT);
wiser.start();
}
use of org.subethamail.wiser.Wiser in project jbpm by kiegroup.
the class EmailDeadlinesBaseTest method setup.
public void setup() {
final ChainedProperties props = ChainedProperties.getChainedProperties("email.conf", ClassLoaderUtil.getClassLoader(null, getClass(), false));
wiser = new Wiser();
wiser.setHostname(props.getProperty("mail.smtp.host", "localhost"));
wiser.setPort(Integer.parseInt(props.getProperty("mail.smtp.port", "2345")));
wiser.start();
try {
Thread.sleep(1000);
} catch (Throwable t) {
// Do nothing
}
}
Aggregations