Login   Register  
PHP Classes
elePHPant
Icontem

File: test/expect/mixedlinebreaks.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Manuel Lemos  >  MIME E-mail message parser  >  test/expect/mixedlinebreaks.txt  >  Download  
File: test/expect/mixedlinebreaks.txt
Role: Auxiliary data
Content type: text/plain
Description: Mixed line breaks test expected results
Class: MIME E-mail message parser
Decode MIME e-mail messages
Author: By
Last change: Fixed bug of skipping header continuation line space and tab characters.
Date: 2 years ago
Size: 5,285 bytes
 

Contents

Class file image Download
MIME message decoding successful.
1 message was found.
Message 1:
array(4) {
  ["Headers"]=>
  array(7) {
    ["to:"]=>
    string(13) "test@test.com"
    ["subject:"]=>
    string(4) "Test"
    ["from:"]=>
    string(22) ""Test" <test@test.com>"
    ["content-type:"]=>
    string(62) "multipart/mixed;	boundary="=_ab0fef9536db8e30cee7aa3e7a8a33ee""
    ["message-id:"]=>
    string(15) "<test@test.com>"
    ["date:"]=>
    string(31) "Thu, 03 Apr 2008 09:26:56 +0000"
    ["mime-version:"]=>
    string(3) "1.0"
  }
  ["Parts"]=>
  array(6) {
    [0]=>
    array(5) {
      ["Headers"]=>
      array(2) {
        ["content-type:"]=>
        string(32) "text/plain; charset="iso-8859-1""
        ["content-transfer-encoding:"]=>
        string(4) "7bit"
      }
      ["Parts"]=>
      array(0) {
      }
      ["Position"]=>
      int(271)
      ["BodyPart"]=>
      int(1)
      ["BodyLength"]=>
      int(9)
    }
    [1]=>
    array(6) {
      ["Headers"]=>
      array(2) {
        ["content-type:"]=>
        string(23) "image/gif; name="1.gif""
        ["content-transfer-encoding:"]=>
        string(6) "base64"
      }
      ["Parts"]=>
      array(0) {
      }
      ["Position"]=>
      int(400)
      ["FileName"]=>
      string(5) "1.gif"
      ["BodyPart"]=>
      int(2)
      ["BodyLength"]=>
      int(1195)
    }
    [2]=>
    array(6) {
      ["Headers"]=>
      array(2) {
        ["content-type:"]=>
        string(23) "image/gif; name="2.gif""
        ["content-transfer-encoding:"]=>
        string(6) "base64"
      }
      ["Parts"]=>
      array(0) {
      }
      ["Position"]=>
      int(2152)
      ["FileName"]=>
      string(5) "2.gif"
      ["BodyPart"]=>
      int(3)
      ["BodyLength"]=>
      int(1195)
    }
    [3]=>
    array(6) {
      ["Headers"]=>
      array(2) {
        ["content-type:"]=>
        string(23) "image/gif; name="3.gif""
        ["content-transfer-encoding:"]=>
        string(6) "base64"
      }
      ["Parts"]=>
      array(0) {
      }
      ["Position"]=>
      int(3904)
      ["FileName"]=>
      string(5) "3.gif"
      ["BodyPart"]=>
      int(4)
      ["BodyLength"]=>
      int(1195)
    }
    [4]=>
    array(6) {
      ["Headers"]=>
      array(2) {
        ["content-type:"]=>
        string(23) "image/gif; name="4.gif""
        ["content-transfer-encoding:"]=>
        string(6) "base64"
      }
      ["Parts"]=>
      array(0) {
      }
      ["Position"]=>
      int(5656)
      ["FileName"]=>
      string(5) "4.gif"
      ["BodyPart"]=>
      int(5)
      ["BodyLength"]=>
      int(1195)
    }
    [5]=>
    array(6) {
      ["Headers"]=>
      array(2) {
        ["content-type:"]=>
        string(23) "image/gif; name="5.gif""
        ["content-transfer-encoding:"]=>
        string(6) "base64"
      }
      ["Parts"]=>
      array(0) {
      }
      ["Position"]=>
      int(7410)
      ["FileName"]=>
      string(5) "5.gif"
      ["BodyPart"]=>
      int(6)
      ["BodyLength"]=>
      int(1195)
    }
  }
  ["Position"]=>
  int(0)
  ["ExtractedAddresses"]=>
  array(2) {
    ["to:"]=>
    array(1) {
      [0]=>
      array(1) {
        ["address"]=>
        string(13) "test@test.com"
      }
    }
    ["from:"]=>
    array(1) {
      [0]=>
      array(2) {
        ["address"]=>
        string(13) "test@test.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) "test@test.com"
      ["name"]=>
      string(4) "Test"
    }
  }
  ["To"]=>
  array(1) {
    [0]=>
    array(1) {
      ["address"]=>
      string(13) "test@test.com"
    }
  }
}