I set smtp params mail/config/smtp. They are ok, I tested with a smtp client.
I created a form. And when I submit, I just get the message "Your message could 
not be sent"

The stack trace on catalina.out says:
2013-10-05 15:33:52,809 ERROR 
a.module.form.processors.SendContactEMailProcessor: Contact email
java.lang.NullPointerException
        at java.io.StringReader.<init>(StringReader.java:50)
        at 
info.magnolia.module.mail.templates.impl.FreemarkerEmail.proccesFreemarkerString(FreemarkerEmail.java:100)
        at 
info.magnolia.module.mail.templates.impl.FreemarkerEmail.setBody(FreemarkerEmail.java:86)
        at 
info.magnolia.module.form.processors.AbstractEMailFormProcessor.sendMail(AbstractEMailFormProcessor.java:62)
        at 
info.magnolia.module.form.processors.SendContactEMailProcessor.internalProcess(SendContactEMailProcessor.java:64)

I found this related fix:
http://blog.cesarcd.com/2013/08/sendcontactemailprocessor-contact-email.html

It advise to set the type field on the Email tab.

My form editor dialog says:
E-MAIL TAB

Available fields for freemarker syntax: FIELD NOT YET SUPPORTED.

Type: FIELD NOT YET SUPPORTED.

I looked on jcr database, but I have no clue which field name and value I need.

Please help.

Regards

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=ec312d0f-3452-4908-ac66-d4bf3b3908e7


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to