Appearance
Upgrading to 5.0
5.0.0 is a major release. Most sites update without changes, but read this page before you update. All changes are in the changelog.
Follow the update instructions. Make a backup of the files and the database first, and test the update on a copy of your site when you can.
Requirements
5.0.0 requires ExpressionEngine 7+ and PHP 8.0+, from 5.0.1 ExpressionEngine 7.3+, see the prerequisites. For ExpressionEngine 6 and lower use the legacy package in the download (legacy/ee_email_template-v4.4.0.zip). The automatic migration from the old (EE2) Email Template module is removed.
Check your templates
- ExpressionEngine tags in the email body are no longer parsed, only the template itself is parsed. Place the tags you need in the Template setting, not in the body of the email. See How it works
- The unused
{reinos_email_template_action_url}global variable is removed.
After the update
- The settings page is now the start page of the add-on.
- When the template can't be used (e.g. it is empty or has no
{body}), the email is sent without the template and an error is written to the Logs page. - The CRLF setting now has effect: choose between EE default, LF and CRLF.
For developers
- The add-on uses the
ExpressionEnginenamespace instead of the deprecatedEllisLabnamespace. - The action and hooks behind the removed
{reinos_email_template_action_url}global variable are removed. - The installer uses the ExpressionEngine 7 add-on installer and migrations, and the control panel pages use the ExpressionEngine 7 control panel routes.
