Login   Register  
PHP Classes
elePHPant
Icontem

File: test/expect/q-encoding.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/q-encoding.txt  >  Download  
File: test/expect/q-encoding.txt
Role: Auxiliary data
Content type: text/plain
Description: Q-encoding test expected results
Class: MIME E-mail message parser
Decode MIME e-mail messages
Author: By
Last change: Fixed multiple consecutive white space in encoded headers.
Date: 2012-08-23 20:41
Size: 2,039 bytes
 

Contents

Class file image Download
MIME message decoding successful.
1 message was found.
Message 1:
array(7) {
  ["Headers"]=>
  array(7) {
    ["from:"]=>
    string(20) "test <test@test.com>"
    ["to:"]=>
    string(20) "test <test@test.com>"
    ["subject:"]=>
    string(76) "Isto =?iso-8859-1?q?=E9_um_teste?= 	=?iso-8859-1?q?_e_isto_=E9_outro_teste?="
    ["date:"]=>
    string(31) "Mon, 25 Mar 2011 00:00:00 +0000"
    ["mime-version:"]=>
    string(3) "1.0"
    ["content-type:"]=>
    string(30) "text/plain; charset=ISO-8859-1"
    ["content-transfer-encoding:"]=>
    string(16) "quoted-printable"
  }
  ["Parts"]=>
  array(0) {
  }
  ["Position"]=>
  int(0)
  ["DecodedHeaders"]=>
  array(1) {
    ["subject:"]=>
    array(1) {
      [0]=>
      array(1) {
        [0]=>
        array(2) {
          ["Value"]=>
          string(37) "Isto  um teste	 e isto  outro teste"
          ["Encoding"]=>
          string(10) "ISO-8859-1"
        }
      }
    }
  }
  ["BodyPart"]=>
  int(1)
  ["BodyLength"]=>
  int(37)
  ["ExtractedAddresses"]=>
  array(2) {
    ["from:"]=>
    array(1) {
      [0]=>
      array(2) {
        ["address"]=>
        string(13) "test@test.com"
        ["name"]=>
        string(4) "test"
      }
    }
    ["to:"]=>
    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"
  ["Subject"]=>
  string(37) "Isto  um teste	 e isto  outro teste"
  ["SubjectEncoding"]=>
  string(10) "iso-8859-1"
  ["Date"]=>
  string(31) "Mon, 25 Mar 2011 00:00:00 +0000"
  ["From"]=>
  array(1) {
    [0]=>
    array(2) {
      ["address"]=>
      string(13) "test@test.com"
      ["name"]=>
      string(4) "test"
    }
  }
  ["To"]=>
  array(1) {
    [0]=>
    array(2) {
      ["address"]=>
      string(13) "test@test.com"
      ["name"]=>
      string(4) "test"
    }
  }
  ["DataLength"]=>
  int(37)
}