Ggggggg - 2006-09-24 16:37:38 -
In reply to message 4 from Manuel Lemos
Here is result of parse_message.php :
Message 1:
array(5) {
["Headers"]=>
array(16) {
["return-path:"]=>
string(13) ""
["received:"]=>
array(4) {
[0]=>
string(153) "from [62.165.51.253] (port=55942 helo=jupiter.mgn.ru) by mx16.mail.ru with esmtp id 1GQbmY-000Jpw-00 for netgai@mail.ru; Fri, 22 Sep 2006 07:32:54 +0400"
[1]=>
string(153) "from localhost (unknown [127.0.0.1]) by jupiter.mgn.ru (Sendmail) with ESMTP id 0DAD33BA240 for ; Fri, 22 Sep 2006 09:32:54 +0600 (YEKST)"
[2]=>
string(188) "from jupiter.mgn.ru ([127.0.0.1]) by localhost (jupiter.mgn.ru [127.0.0.1]) (Antrivirus, port 10024) with LMTP id oDPhfH76nFSK for ; Fri, 22 Sep 2006 09:32:53 +0600 (YEKST)"
[3]=>
string(180) "from magn-mmb.vpn.mgn.ru (magn-mmb.vpn.mgn.ru [83.146.101.160]) by jupiter.mgn.ru (Sendmail) with ESMTP id DFCC7107895 for ; Fri, 22 Sep 2006 09:32:53 +0600 (YEKST)"
}
["received-spf:"]=>
string(155) "pass (mx16.mail.ru: domain of mgn.ru designates 62.165.51.253 as permitted sender) client-ip=62.165.51.253; envelope-from=lego@mgn.ru; helo=jupiter.mgn.ru;"
["x-virus-scanned:"]=>
string(19) "Antivirus at mgn.ru"
["date:"]=>
string(31) "Fri, 22 Sep 2006 09:33:11 +0600"
["from:"]=>
string(41) "=?windows-1251?B?zuvl4w==?= "
["x-mailer:"]=>
string(32) "The Bat! (v3.80.06) Professional"
["reply-to:"]=>
string(41) "=?windows-1251?B?zuvl4w==?= "
["x-priority:"]=>
string(10) "3 (Normal)"
["message-id:"]=>
string(34) "<1646493932.20060922093311@mgn.ru>"
["to:"]=>
string(14) "netgai@mail.ru"
["subject:"]=>
string(27) "=?windows-1251?B?zOXt8vs=?="
["mime-version:"]=>
string(3) "1.0"
["content-type:"]=>
string(32) "text/plain; charset=windows-1251"
["content-transfer-encoding:"]=>
string(16) "quoted-printable"
["x-spam:"]=>
string(12) "Not detected"
}
["Parts"]=>
array(0) {
}
["DecodedHeaders"]=>
array(3) {
["from:"]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(2) {
["Value"]=>
string(18) "Олег "
["Encoding"]=>
string(12) "WINDOWS-1251"
}
}
}
["reply-to:"]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(2) {
["Value"]=>
string(18) "Олег "
["Encoding"]=>
string(12) "WINDOWS-1251"
}
}
}
["subject:"]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(2) {
["Value"]=>
string(5) "Менты"
["Encoding"]=>
string(12) "WINDOWS-1251"
}
}
}
}
["BodyPart"]=>
int(1)
["BodyLength"]=>
int(186)
}
But were is body of the message ?? And how I can call, let say, array ["Headers"] without calling to other arrays??