Skip to main content
How to upload my email templates?

This article shows how to correctly upload HTML email templates on the Dashboard from a ZIP file.

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

If you want to use your own email templates, you can directly import them on your Batch dashboard.

Uploading your template

On your Batch Dashboard, go to Campaigns > New campaign > Email message, name it to start a new campaign, choose the targeting and timing, and go to the Message section: 

You can choose between 'Design your message with the Email Composer', 'Upload your ready-to-use HTML template', or 'open the code editor </>'.

We'll focus on the last two!

Upload your ready-to-use HTML template

Prerequisities

Before you upload your file, you need to create your own HTML email template. Whether you create your templates yourself or use an e-mail builder, your file must be a single compressed ZIP file containing:

  • A single HTML file saved as "index.htm(l)" or "mail.html" (with a maximum size of 512kb)

  • A single image folder containing all the images of your e-mail template saved as "images"

💡 Depending on your operating system, compress the file selecting both elements ("index.html file" (or mail.html) + "images" folder)

For example, here is how it goes on macOS:

⚠️ If you want the images to be hosted by Batch, you need to put them in the image folder and replace the URLs in the HTML (with a code editor for example) before uploading the ZIP file on the Dashboard.

Upload your file

If you choose to directly add your file, click on 'Upload your ready-to-use HTML template' and select your file.

It will be added and the preview of your template will appear:

💡 If this one does not suit you, you can click on Delete and upload a new one or if you want to make some changes, you can edit it by clicking directly on Edit Email.

Open the code editor </>

If you choose to add your template via the HTML code retrieved from your e-mail builder, click on 'Open the code editor </>' and add the code:

Once all the content of your email is adjusted, click on Continue:

Your email is now ready to be sent! ✨

💡Before launching your email, don't forget to test it by using the Send test feature.

Don't hesitate to use the Dashboard's preview mode and send yourself test emails to check that your emails are displayed correctly regardless of the device.


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?