My email templates are broken after upload/update, what can I do?

My email templates are broken after upload/update, what can I do?

You can try to open the file:

apps/common/config/main.php

and look for:

// use tidy for templates parsing
'email.templates.tidy.enabled' => true,

then edit this code part and make it look like :

// use tidy for templates parsing
'email.templates.tidy.enabled' => false,

Save the file and try uploading your templates again.

    • Related Articles

    • How to increase PHP upload file size directive

      Many times, trying to upload a file in AppMail for different purposes, like importing a subscriber's CSV list or uploading an email template, you got stuck with this error message: This means that the maximum allowed file size is 2MB (the default for ...
    • How to add custom email footers for all emails?

      Sometimes you might need to make sure all the emails that go out will contain a certain email footer, for example where you’ll add the default unsubscribe information, or maybe your copyright. In order to do so, you have to navigate to Backend > ...
    • How to add a countdown to an email template

      Starting with version 2.1.15, AppMail supports countdowns for email templates. To get started, all you have to do is to click on the Available tags from the campaign template step and you will see the COUNTDOWN tag with all its possible options Copy ...
    • Unable to upload file for importing

      When you try to import your subscribers from a text or csv file, sometimes you might get an error like: Your form has a few errors, please fix them and try again! The file "filename.csv" cannot be uploaded. Only files of these MIME-types are allowed: ...
    • Email Box Monitors

      An email box monitor is simply an imap/pop3 account, just like a bounce or feedback loop server, where AppMail will connect from time to time and download the contents and process them in order to take a certain action. You can define conditions so ...