3 Replies Latest reply: Oct 10, 2011 6:24 AM by Tony T1
disconnekt Level 3 (510 points)

I recently decided to move all of my email archives from my Mac to the cloud with my MobileMe account. However, a hundred or so various messages, mostly from 10 years ago or more, cannot be moved because of an "invalid header" error.

After much Googling, the only solution I found was to open the messages with TextEdit and delete all headers beginning with the ">" symbol. However, none of the offending messages have this symbol at the beginning of a line. They do have a lot of gobbledygook in the headers, but I cannot tell what needs deleting.


Here is an example of headers from one of the offending messages (some info replaced with xxx):



          by front7.grolier.fr (8.9.0/8.9.2) with ESMTP id JAA11294

          for <xxxx@club-internet.fr>; Thu, 18 Feb 1999 09:53:36 +0100 (MET)

Received: from modem-43.verapamil.dialup.pol.co.uk ([] helo=heronet.heronet.or.jp)

          by mail2.svr.pol.co.uk with smtp (Exim 2.10 #1)

          id 10DPDB-0002fr-00

          for vinsta@club-internet.fr; Thu, 18 Feb 1999 08:53:34 +0000

Message-ID: <001201be5b1c$4a406a60$2b5c883e@heronet.heronet.or.jp>

From: "name removed" <xxx@himcycling.freeserve.co.uk>

To: <xxxx@club-internet.fr>

Subject: Re: not 'till next month

Date: Wed, 17 Feb 1999 22:36:11 -0000

MIME-Version: 1.0

Content-Type: text/plain;


Content-Transfer-Encoding: 7bit

X-Priority: 3

X-MSMail-Priority: Normal

X-Mailer: Microsoft Outlook Express 4.72.3110.5

X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

Status: U

X-Mozilla-Status: 8011

X-Mozilla-Status2: 00000000

X-UIDL: 6382aab9e69a72b8fb2b7ad292f466f0


I really hope someone here can take a look at let me know what the invalid header might be!


Thanks in advance.

  • Tony T1 Level 6 (8,975 points)


    Set up a new mailbox in Mail

    Move the problem emails to this new mailbox

    Export the new mailbox to the Desktop (Mail->Mailbox->Export...)

    Delete this Mailbox in Mail

    Now Import the Mailbox on the Desktop (Mail->File->Import)


    It's possible that Mail will fix the problem when it imports the emails.

  • disconnekt Level 3 (510 points)

    Thanks, Tony. I forgot to mention that I'd already tried rebuilding mailboxes as well as exporting and reimportin the message, with no luck.

  • Tony T1 Level 6 (8,975 points)

    Compare to one of your valid emails, and take a closer look at the encoding (i.e. Content-Transfer-Encoding: 7bit) and the charset (i.e.Content-Type: text/plain; charset="iso-8859-1")