Page 1 of 1

Error on enabling Email Functionality in Admin 3.0

Posted: Wed Aug 21, 2013 6:41 am
by deepti
Hi, I am getting following exception after enabling email functionality for forget password in admin 3.0 applicationContext-admin.xml file:

Could not prepare mail; nested exception is org.thymeleaf.exceptions.TemplateProcessingException: Resource resolution by ServletContext with org.thymeleaf.resourceresolver.ServletContextResourceResolver can only be performed when context implements org.thymeleaf.context.IWebContext [current context: org.thymeleaf.context.Context]

I am using thymeleaf version 2.0.16 now as given in the below link
https://github.com/BroadleafCommerce/BroadleafCommerce/issues/158

but even though no luck. Please Help.

Re: Error on enabling Email Functionality in Admin 3.0

Posted: Fri Aug 30, 2013 12:47 am
by deepti
Is there anyone who can try to help me on this issue??? :( :?

Re: Error on enabling Email Functionality in Admin 3.0

Posted: Mon Sep 02, 2013 2:17 am
by hiteshsingla
I think the problem is due to the use of context path in the mails.Try giving the complete path in the reset password url i.e. http://localhost... like this.In emails you can not use relative urls.You have to go with the absolute paths.