Troubleshoot importing large emails

Problem

A large email (of many MB in size) fails to import into the help desk.

Cause

Your configured PHP or MySQL resource allocation is too small.

Resolution

PHP

  1. Ensure upload_max_filesize is larger than the file
  2. Ensure memory_limit is larger than upload_max_filesize, it should be several times larger

MySQL

  1. Ensure max_allowed_packet is larger than the raw contents of the email