queue = new LinkedList<>();
}
@Override
public void start() {
service = new EMailService();
service.setFromAddr(properties.getProperty(CONFIG_FROM,
"root@localhost"));
service.setHost(properties.getProperty(CONFIG_HOST, "127.0.0.1"));
service.setPort(properties.getProperty(CONFIG_PORT, "25"));
service.setUsername(properties.getProperty(CONFIG_USER));