ZIP Upload Requirements
To ensure a smooth and error-free upload, your ZIP file needs to follow specific format and content rules. These include file size limits, folder structure, and the types of files included. Meeting these requirements ensures your HTML email is successfully imported and renders correctly in the editor.
Allowed Format & Size
- Only .zip files are accepted
- File size must be 2MB or less
Common Errors:
- Only ZIP files are allowed.
- ZIP file size exceeds the 2MB limit.
- No file uploaded.
ZIP File Structure
- No nested folders beyond one level
- No invalid or dangerous file paths
Common Errors:
- ZIP archive contains invalid or dangerous paths: {filename}
- ZIP archive contains a subfolder beyond the allowed depth.
Required Files
- Must contain one and only one HTML file
- Allowed: .html, .jpg, .jpeg, .png, .gif, .bmp
Common Errors:
- No HTML file found in the ZIP archive.
- More than one HTML file found in the ZIP archive.
- ZIP archive contains invalid files.
HTML File Guidelines
- Must be extractable by the system
- Avoid unsupported or non-email-friendly tags
Common Errors:
- HTML file extraction failed.
- Your HTML contains tags that are unnecessary in an email template.