> For the complete documentation index, see [llms.txt](https://docs.toomuchmedia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.toomuchmedia.com/nats-admin/mass-mailing/further-reading/handling-smarty-email-error.md).

# Handling Smarty Email Error

*Article Topics:* [*Emails*](/getting-started/common-topics/emails.md)*,* [*Smarty*](/getting-started/common-topics/smarty.md)

When attempting to send an email, you or your recipients receive an email or a log warning containing the following Smarty error message:

{% code overflow="wrap" %}

```
Warning: Smarty error: unable to read resource: "var:body" in /var/www/nats/Smarty-2.6.7/libs/Smarty.class.php on line 1083
```

{% endcode %}

This error occurs when an email template was created or queued in the Mass Mailing Admin without any body content (the email body is completely empty).

To resolve this:

1. Navigate to the [Mailing Management](/nats-admin/mass-mailing/mailing-management.md) page.
2. Select the Email producing the error.
3. Ensure both the Plain Text and/or HTML body fields contain content.
4. Save your changes, then resend or test the mailing.

## Related Articles

{% content-ref url="/pages/DyexLUz12Y1F7WXcccHc" %}
[Smarty](/using-nats/one-off-articles/smarty.md)
{% endcontent-ref %}

{% content-ref url="/pages/iIjQIW0c1F3dMN0Vwjfk" %}
[Mailing Overview](/nats-admin/mass-mailing/mailing-overview.md)
{% endcontent-ref %}
