Location: PHPKode > scripts > MIME E-mail message parser > mime-e-mail-message-parser/test/expect/mixedlinebreaks.txt
MIME message decoding successful.
1 message was found.
Message 1:
array(3) {
  ["Headers"]=>
  array(7) {
    ["to:"]=>
    string(13) "hide@address.com"
    ["subject:"]=>
    string(4) "Test"
    ["from:"]=>
    string(22) ""Test" <hide@address.com>"
    ["content-type:"]=>
    string(61) "multipart/mixed;boundary="=_ab0fef9536db8e30cee7aa3e7a8a33ee""
    ["message-id:"]=>
    string(15) "<hide@address.com>"
    ["date:"]=>
    string(31) "Thu, 03 Apr 2008 09:26:56 +0000"
    ["mime-version:"]=>
    string(3) "1.0"
  }
  ["Parts"]=>
  array(6) {
    [0]=>
    array(4) {
      ["Headers"]=>
      array(2) {
        ["content-type:"]=>
        string(32) "text/plain; charset="iso-8859-1""
        ["content-transfer-encoding:"]=>
        string(4) "7bit"
      }
      ["Parts"]=>
      array(0) {
      }
      ["BodyPart"]=>
      int(1)
      ["BodyLength"]=>
      int(9)
    }
    [1]=>
    array(5) {
      ["Headers"]=>
      array(2) {
        ["content-type:"]=>
        string(23) "image/gif; name="1.gif""
        ["content-transfer-encoding:"]=>
        string(6) "base64"
      }
      ["Parts"]=>
      array(0) {
      }
      ["FileName"]=>
      string(5) "1.gif"
      ["BodyPart"]=>
      int(2)
      ["BodyLength"]=>
      int(1195)
    }
    [2]=>
    array(5) {
      ["Headers"]=>
      array(2) {
        ["content-type:"]=>
        string(23) "image/gif; name="2.gif""
        ["content-transfer-encoding:"]=>
        string(6) "base64"
      }
      ["Parts"]=>
      array(0) {
      }
      ["FileName"]=>
      string(5) "2.gif"
      ["BodyPart"]=>
      int(3)
      ["BodyLength"]=>
      int(1195)
    }
    [3]=>
    array(5) {
      ["Headers"]=>
      array(2) {
        ["content-type:"]=>
        string(23) "image/gif; name="3.gif""
        ["content-transfer-encoding:"]=>
        string(6) "base64"
      }
      ["Parts"]=>
      array(0) {
      }
      ["FileName"]=>
      string(5) "3.gif"
      ["BodyPart"]=>
      int(4)
      ["BodyLength"]=>
      int(1195)
    }
    [4]=>
    array(5) {
      ["Headers"]=>
      array(2) {
        ["content-type:"]=>
        string(23) "image/gif; name="4.gif""
        ["content-transfer-encoding:"]=>
        string(6) "base64"
      }
      ["Parts"]=>
      array(0) {
      }
      ["FileName"]=>
      string(5) "4.gif"
      ["BodyPart"]=>
      int(5)
      ["BodyLength"]=>
      int(1195)
    }
    [5]=>
    array(5) {
      ["Headers"]=>
      array(2) {
        ["content-type:"]=>
        string(23) "image/gif; name="5.gif""
        ["content-transfer-encoding:"]=>
        string(6) "base64"
      }
      ["Parts"]=>
      array(0) {
      }
      ["FileName"]=>
      string(5) "5.gif"
      ["BodyPart"]=>
      int(6)
      ["BodyLength"]=>
      int(1195)
    }
  }
  ["ExtractedAddresses"]=>
  array(2) {
    ["to:"]=>
    array(1) {
      [0]=>
      array(1) {
        ["address"]=>
        string(13) "hide@address.com"
      }
    }
    ["from:"]=>
    array(1) {
      [0]=>
      array(2) {
        ["address"]=>
        string(13) "hide@address.com"
        ["name"]=>
        string(4) "Test"
      }
    }
  }
}
array(9) {
  ["Type"]=>
  string(4) "text"
  ["Description"]=>
  string(12) "Text message"
  ["Encoding"]=>
  string(10) "iso-8859-1"
  ["DataLength"]=>
  int(9)
  ["Attachments"]=>
  array(5) {
    [0]=>
    array(5) {
      ["Type"]=>
      string(5) "image"
      ["SubType"]=>
      string(3) "gif"
      ["Description"]=>
      string(28) "Image file in the GIF format"
      ["DataLength"]=>
      int(1195)
      ["FileName"]=>
      string(5) "1.gif"
    }
    [1]=>
    array(5) {
      ["Type"]=>
      string(5) "image"
      ["SubType"]=>
      string(3) "gif"
      ["Description"]=>
      string(28) "Image file in the GIF format"
      ["DataLength"]=>
      int(1195)
      ["FileName"]=>
      string(5) "2.gif"
    }
    [2]=>
    array(5) {
      ["Type"]=>
      string(5) "image"
      ["SubType"]=>
      string(3) "gif"
      ["Description"]=>
      string(28) "Image file in the GIF format"
      ["DataLength"]=>
      int(1195)
      ["FileName"]=>
      string(5) "3.gif"
    }
    [3]=>
    array(5) {
      ["Type"]=>
      string(5) "image"
      ["SubType"]=>
      string(3) "gif"
      ["Description"]=>
      string(28) "Image file in the GIF format"
      ["DataLength"]=>
      int(1195)
      ["FileName"]=>
      string(5) "4.gif"
    }
    [4]=>
    array(5) {
      ["Type"]=>
      string(5) "image"
      ["SubType"]=>
      string(3) "gif"
      ["Description"]=>
      string(28) "Image file in the GIF format"
      ["DataLength"]=>
      int(1195)
      ["FileName"]=>
      string(5) "5.gif"
    }
  }
  ["Subject"]=>
  string(4) "Test"
  ["Date"]=>
  string(31) "Thu, 03 Apr 2008 09:26:56 +0000"
  ["From"]=>
  array(1) {
    [0]=>
    array(2) {
      ["address"]=>
      string(13) "hide@address.com"
      ["name"]=>
      string(4) "Test"
    }
  }
  ["To"]=>
  array(1) {
    [0]=>
    array(1) {
      ["address"]=>
      string(13) "hide@address.com"
    }
  }
}
Return current item: MIME E-mail message parser