Why is your email template file not correctly uploaded on the Dashboard?

This article provides solutions if your email template cannot be uploaded correctly on Batch.

Batch allows you to import email templates and use them in your email campaigns.

To do so, you can simply drag and drop a Zip file, or click on the Browse your files section of your campaign form.

If the uploaded file does not meet the prerequisites, it will most likely not work properly. If this happens, here are some suggestions to identify the issue:

1. My template is not importing

a) Invalid file name in your ZIP file

If you receive the error labelled No index.htm(l) or mail.html file found, you should rename the HTML file to index.html (or mail.html). If the file is not named correctly, the import will fail.

Here is how to resolve this issue:

  1. Unzip the ZIP file that contains the HTML email

  2. Find the target HTML file

  3. Rename the target HTML file to index.html (or mail.html)

  4. Zip up the file

  5. Upload the file

2. My images are not displayed in my email template

a) Wrong structure of the ZIP file

To import templates on the Dashboard, Batch needs the ZIP file to contain exactly one index.html (or mail.html) file and one "images" folder.

During the compression, some tools can put the index.html (or mail.html) file and the images folder in the same folder, which impacts the import of the images.

Make sure that they are no additional folders. Here is how it goes on Mac OS:

b) Invalid file names in your ZIP file

When creating ZIP files, the images must be in the sub-folder of your ZIP file. If the “images” file is not named correctly, they will not be displayed in your template.

Here is how to resolve this issue:

When creating ZIP files, the images must be in the sub-folder of your ZIP file.

  1. Unzip the .ZIP file that contains the HTML email.

  2. Rename the image file to images (it doesn't work without the "s")

  3. Zip up the files

  4. Upload the file

c) Invalid image names in your image file

In the HTML code of the template, each image should be referred to by its name and sub-folder. If the images mentioned in the HTML code do not have the same name as those in the "images" file, Batch will not link them and they will not be displayed in your email template.

Last updated

Was this helpful?