Mailer Error: Message body empty

How to fix a ChronoForms email error showing an empty message body.

Overview

The error occurs when the Email Template field in the form setup is left blank or contains invalid code.
Ensure the Email Template field contains valid HTML with form field placeholders, like {field_name}, to define the email content.

Answered
MM MMKD 27 May, 2014
Hey Bob,

I configured a ChonroContact form. When I fill the form and hit submit I get the note "Mailer Error: Message body empty". I have tried another simple form with just one textfield and a submit button - same result!

Can you give me any recommendation?
Regards

Matthias
Gr GreyHead 27 May, 2014
Hi Matthias,

Have you put anything into the Email message body?

Bob
MM MMKD 27 May, 2014
Hey Bob,

I just used a text label field. It is def. a prob. with the "Set up email". I double-checked the "from name" and "from email" setup in the configuration. The website is already uploaded to the web. Does it help to give you a admin-login?

Attached two screenshots

Regards Matthias
MM MMKD 27 May, 2014
sorry same screenshots 🙂
Gr GreyHead 27 May, 2014
HI Matthias,

The one thing I don't see there is the Email Template ?

Bob
MM MMKD 27 May, 2014
Sorry,

attached a screenshot
Gr GreyHead 27 May, 2014
Hi Matthias,

Still no shot of the Email Template :-(

Bob
MM MMKD 27 May, 2014
Answer
Aaaahh,

Sorry I left that empty - now it WORKS!!!! I really have to apologize! You ROCK! Thank you very much!😀:D:D:D:
Call me DAU!😀

Bob, thank you very much for your support! That was the key!
Regards Matthias
fi filipetorres 11 Jun, 2014
Hi Bob,
this message error is also displayed if Email Template field contains PHP code has syntax errors.
at atoddvr6 18 Feb, 2015
I hate to bring this topic back up but the solution was not clear at all. What exactly needs to go into the Email Template field? Also, is there a general set of instructions for ChronoContact?
Gr GreyHead 19 Feb, 2015
1 Likes
Hi atoddvr6,

What goes into the Email template is the HTML you want to use to display in the body of the email. You include values from your form as {input_name} e.g. {first_name}, {email} etc.

I don't know of any specific documentation for ChronoContact :-(

Bob
at atoddvr6 19 Feb, 2015
Bob,

That's great. Thank you for your help. I started by putting {message} in the Email Template field, which got it working, and then I added more fields. Works great!

This is what I have now:
<strong>Phone:</strong> {phone}</br>
<strong>Subject:</strong> {subject}</br>
<strong>Message:</strong> {message}
This topic is locked and no more replies can be posted.