Mailer Configuration in Easyform

Hi I am trying to work with easyforms and while I tried to configure the mailer I got this error and here the is traceback

Traceback (innermost last):
  Module ZPublisher.Publish, line 138, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 48, in call_object
  Module plone.z3cform.layout, line 66, in __call__
  Module plone.z3cform.layout, line 50, in update
  Module collective.easyform.browser.view, line 256, in update
  Module plone.z3cform.fieldsets.extensible, line 59, in update
  Module plone.z3cform.patch, line 30, in GroupForm_update
  Module, line 145, in update
  Module, line 21, in execute
  Module z3c.form.action, line 98, in execute
  Module z3c.form.button, line 315, in __call__
  Module z3c.form.button, line 170, in __call__
  Module collective.easyform.browser.view, line 159, in handleSubmit
  Module collective.easyform.browser.view, line 122, in processActions
  Module collective.easyform.actions, line 463, in onSuccess
  Module collective.easyform.actions, line 399, in get_mail_text
  Module collective.easyform.actions, line 198, in get_mail_body
  Module Products.PageTemplates.ZopePageTemplate, line 435, in pt_render
  Module Products.PageTemplates.PageTemplate, line 87, in pt_render
  Module zope.pagetemplate.pagetemplate, line 126, in pt_render
   - Warning: Compilation failed
   - Warning: chameleon.exc.ParseError: Unexpected end tag.

 - String:     "</html>"
 - Filename:   mailer
 - Location:   (line 16: col 0)
PTRuntimeError: ['Compilation failed', 'chameleon.exc.ParseError: Unexpected end tag.\n\n - String:     "</html>"\n - Filename:   mailer\n - Location:   (line 16: col 0)']```

What I found from this error is that, there is something wrong with the templates but I am not able to figure out which tempate as I am finding the base templates seems okay when I checked them, it may be an error when we are passing the mail body and mail header to the templates through python code, may be there is come error I am trying to detecting it but till now can't figure it out, so it will be great I can know that I am going in right direction for this error. Any other inputs will be great too.


So Finally it worked for me as the error was in the template that has been provided in the template option of the Mailer and I just tried the template of PFG for easyform and it worked perfectly for me. It was a silly mistake but though it took few days to detect it. Now its working perfectly for me.


@jensens I guess we can close it. I have created a separate branch for correcting the default template on collective.easyform