All Collections
Email
Troubleshooting
My email template file is not correctly uploaded on the Dashboard
My email template file is not correctly uploaded on the Dashboard

This article give you some suggestions if your email template cannot be uploaded correctly on Batch

Cécile avatar
Written by Cécile
Updated over a week ago

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 by following these instructions.

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

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 must rename the HTML file to index.html (or mail.html). Indeed, 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 the 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 on your email template.

In case you still have problems uploading your ZIP file, feel free to contact our support teams directly on the Live Chat.


This article belongs to Batch's FAQ. Need more help? Find insightful articles, documentation, case & market studies, guides, and even more in our website's Resources section on batch.com and our blog.

Did this answer your question?