Login   Register  
PHP Classes
elePHPant
Icontem

File: test/expect/mbox.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/mbox.txt  >  Download  
File: test/expect/mbox.txt
Role: Auxiliary data
Content type: text/plain
Description: Expected output of the mbox test
Class: MIME E-mail message parser
Decode MIME e-mail messages
Author: By
Last change: Updated to match parser output.
Date: 2010-11-15 00:13
Size: 3,215 bytes
 

Contents

Class file image Download
MIME message decoding successful.
2 messages were found.
Message 1:
array(7) {
  ["Headers"]=>
  array(9) {
    ["from "]=>
    string(1) "-"
    ["message-id:"]=>
    string(15) "<test@test.com>"
    ["date:"]=>
    string(31) "Sat, 01 Jan 2000 00:00:00 -0000"
    ["from:"]=>
    string(13) "test@test.com"
    ["mime-version:"]=>
    string(3) "1.0"
    ["to:"]=>
    string(13) "test@test.com"
    ["subject:"]=>
    string(4) "test"
    ["content-type:"]=>
    string(30) "text/plain; charset=ISO-8859-1"
    ["content-transfer-encoding:"]=>
    string(4) "7bit"
  }
  ["Parts"]=>
  array(0) {
  }
  ["Position"]=>
  int(0)
  ["Body"]=>
  string(65) "from -

>from -

From -

>From -

>>From -

>>>From -
"
  ["BodyPart"]=>
  int(1)
  ["BodyLength"]=>
  int(65)
  ["ExtractedAddresses"]=>
  array(2) {
    ["from:"]=>
    array(1) {
      [0]=>
      array(1) {
        ["address"]=>
        string(13) "test@test.com"
      }
    }
    ["to:"]=>
    array(1) {
      [0]=>
      array(1) {
        ["address"]=>
        string(13) "test@test.com"
      }
    }
  }
}
array(8) {
  ["Type"]=>
  string(4) "text"
  ["Description"]=>
  string(12) "Text message"
  ["Encoding"]=>
  string(10) "iso-8859-1"
  ["Subject"]=>
  string(4) "test"
  ["Date"]=>
  string(31) "Sat, 01 Jan 2000 00:00:00 -0000"
  ["From"]=>
  array(1) {
    [0]=>
    array(1) {
      ["address"]=>
      string(13) "test@test.com"
    }
  }
  ["To"]=>
  array(1) {
    [0]=>
    array(1) {
      ["address"]=>
      string(13) "test@test.com"
    }
  }
  ["Data"]=>
  string(65) "from -

>from -

From -

>From -

>>From -

>>>From -
"
}
Message 2:
array(7) {
  ["Headers"]=>
  array(9) {
    ["from "]=>
    string(1) "-"
    ["message-id:"]=>
    string(15) "<test@test.com>"
    ["date:"]=>
    string(30) "Sat 01 Jan 2000 00:00:00 -0000"
    ["from:"]=>
    string(13) "test@test.com"
    ["mime-version:"]=>
    string(3) "1.0"
    ["to:"]=>
    string(13) "test@test.com"
    ["subject:"]=>
    string(4) "test"
    ["content-type:"]=>
    string(30) "text/plain; charset=ISO-8859-1"
    ["content-transfer-encoding:"]=>
    string(4) "7bit"
  }
  ["Parts"]=>
  array(0) {
  }
  ["Position"]=>
  int(0)
  ["Body"]=>
  string(67) "from -

>from -

From -

>From -

>>From -

>>>From -

"
  ["BodyPart"]=>
  int(2)
  ["BodyLength"]=>
  int(67)
  ["ExtractedAddresses"]=>
  array(2) {
    ["from:"]=>
    array(1) {
      [0]=>
      array(1) {
        ["address"]=>
        string(13) "test@test.com"
      }
    }
    ["to:"]=>
    array(1) {
      [0]=>
      array(1) {
        ["address"]=>
        string(13) "test@test.com"
      }
    }
  }
}
array(8) {
  ["Type"]=>
  string(4) "text"
  ["Description"]=>
  string(12) "Text message"
  ["Encoding"]=>
  string(10) "iso-8859-1"
  ["Subject"]=>
  string(4) "test"
  ["Date"]=>
  string(30) "Sat 01 Jan 2000 00:00:00 -0000"
  ["From"]=>
  array(1) {
    [0]=>
    array(1) {
      ["address"]=>
      string(13) "test@test.com"
    }
  }
  ["To"]=>
  array(1) {
    [0]=>
    array(1) {
      ["address"]=>
      string(13) "test@test.com"
    }
  }
  ["Data"]=>
  string(67) "from -

>from -

From -

>From -

>>From -

>>>From -

"
}