From: Roland Häder Date: Wed, 18 May 2016 10:42:17 +0000 (+0200) Subject: updated jar(s) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0073ea4e9a854c211ba8e5d7eaa6d03ee5a9fde6;p=jmailer-ee.git updated jar(s) --- diff --git a/lib/jcontacts-core.jar b/lib/jcontacts-core.jar index afb8cd0..c6e2bea 100644 Binary files a/lib/jcontacts-core.jar and b/lib/jcontacts-core.jar differ diff --git a/lib/juser-core.jar b/lib/juser-core.jar index 8c87a76..fd21b2d 100644 Binary files a/lib/juser-core.jar and b/lib/juser-core.jar differ diff --git a/lib/juser-lib.jar b/lib/juser-lib.jar index 108299d..78a5bd1 100644 Binary files a/lib/juser-lib.jar and b/lib/juser-lib.jar differ diff --git a/src/org/mxchange/jmailee/model/delivery/BaseMailer.java b/src/org/mxchange/jmailee/model/delivery/BaseMailer.java index d7e4db9..361ce5d 100644 --- a/src/org/mxchange/jmailee/model/delivery/BaseMailer.java +++ b/src/org/mxchange/jmailee/model/delivery/BaseMailer.java @@ -32,6 +32,8 @@ import javax.naming.NamingException; import org.apache.velocity.Template; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.VelocityEngine; +import org.apache.velocity.runtime.RuntimeConstants; +import org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader; import org.mxchange.jcoreeelogger.beans.local.logger.Log; import org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal; import org.mxchange.jmailee.model.delivery.wrapper.WrapableEmailDelivery; @@ -86,6 +88,8 @@ public abstract class BaseMailer implements DeliverableEmail { // Init template engine this.templateEngine = new VelocityEngine(); + this.templateEngine.setProperty(RuntimeConstants.RESOURCE_LOADER, "classpath"); //NOI18N + this.templateEngine.setProperty("classpath.resource.loader.class", ClasspathResourceLoader.class.getName()); //NOI18N this.templateEngine.init(); }