Lead Gen & CRM
How can we help you?
Search our help articles, video tutorials, and quickstart guides

You've got this. You've got us. Search our Knowledge Base to quickly find answers to your questions.

Importing Emails and Templates from .ZIP Files

Article: 000050204
Updated: July 19, 2024

If you have an email that was designed outside of Lead Gen & CRM, you can import these directly into the Lead Gen & CRM Email Designer.

This article will show how to import emails and templates from .ZIP files.


Article Contents

 
 
Users:
Administrators 
Company Managers 
Marketing Managers 
Sales Managers  
Salespersons  
Jr. Salespersons  

Light Bulb IconTip: Are you looking for information about Constant Contact’s Email and Digital Marketing product? This article is for Constant Contact’s Lead Gen & CRM product. Head on over to the Email and Digital Marketing articles by clicking here. Not sure what the difference is? Read this article.

 

Creating .ZIP Files

To import emails, you have to have the HTML of that email in a .ZIP file.

  1. Save the HTML of your email as index.html.
  2. Place your index.html file in a folder, along with any images for that email.
  3. Depending on your operating system, do the following to the folder:
     
    Mac: Right-click > Compress.
     
    Windows: Right-click > Send to > Compressed (zipped) folder.


Regarding Images in .ZIP Files

When creating .ZIP files, images should be in the root folder of your .ZIP file along with your index.html file. If the images are not in the root folder, they should be in a subfolder. Within the email's .HTML code, each image should be referred to as its name and subfolder alone.

For example, if your image is mypic.jpg in the root folder, your image element would need to be
<img src="mypic.jpg">. Lead Gen & CRM will store the image and replace it with a link to the image stored on the server. If it is in a folder called images, you'd need to refer to it as
<img src="images/mypic.jpg">.

In addition, if you use images in an email imported from a .ZIP file, the images must be in the .ZIP file. This means that you cannot refer to external images.
 



Importing Emails via .ZIP Files

To import emails, start from the Email page in the left toolbar. 

  1. Click  cog.png  Options > New Email from .ZIP.

    Click options then select New Email From Zip

     

  2. In the modal window that appears, enter an email name.
  3. Enter a subject line, From name, and From email address.
  4. Click Choose File to open your computer's file manager. 

    Click choose file

     

  5. Choose the .ZIP file from your computer.
  6. Click Open.

    Select the Zip file

     

  7. Click Upload.

    Select Upload

     

A message will appear at the top of the screen letting you know the import is processing. Once the import is complete, you will receive an email containing a preview of the email you imported with the .ZIP file.
 



Importing Email Templates via .ZIP Files

A template is a starting point that you can use to create new emails in the future while keeping the same layout and media. To import templates, start from the Email page in the left toolbar. 

  1. Click  cog.png  Options > New Template from .ZIP on the right side of the screen.

    Click Options then New Template from Zip

     

  2. Enter a name for the template in the modal window that appears.
  3. Click Choose File to open your computer's file manager. 

    Click Choose file

     

  4. Choose the .ZIP file from your computer.
  5. Click Open

    Select the file to upload

     

  6. Click Upload.

    Click upload

     

A message will appear at the top of the screen letting you know the import is processing. Once the import is complete, you will receive an email containing a preview of the template you imported with the .ZIP file.
 



Resolving .ZIP Title Errors

If you receive the error titled Your file must contain a file named index.html, you must rename the .HTML file to index.html. Imported .ZIP files must be UTF-8 encoded. The .ZIP upload feature in Lead Gen & CRM looks for the word index. If the file is named improperly, then the import will fail.

To resolve this issue, do the following:  

  1. Unzip the .ZIP file that contains the HTML email. On most devices, you may double-click the file to decompress or unzip it. 

    Unzip the file

     

  2. If a folder appears after unzipping, expand it to see all of your template files. 

    Expand the file folder

     

  3. Locate the target .HTML file and right-click to rename it. 

    Locate the file

     

  4. Rename the target .HTML file to index.html.

    Rename the file

     

  5. Zip up the file again, and then upload it. 

    Rezip the file

     

 


Did this article answer your question?


Constant Contact Logo

Copyright © 2025 · All Rights Reserved · Constant Contact · Privacy Center