芝麻web文件管理V1.00
编辑当前文件:/home/conskgoa/doughi.co.uk/alt-php82-pecl-mailparse_3.2.0-1.el8.tar
tests/005.phpt 0000644 00000001664 15217644451 0007127 0 ustar 00 --TEST-- Check quoted-printable encoding generates S/MIME safe content --SKIPIF-- --POST-- --GET-- --FILE-- --EXPECT-- To: fred@bloggs.com blah blah blah From blah $ " & =A3 blah blah blah blah blah =46rom the first of the month, things will be different! blah blah blah From blah Frome is a town in Somerset. tests/bug81403.phpt 0000644 00000001036 15217644451 0007771 0 ustar 00 --TEST-- Bug #81403 (mailparse_rfc822_parse_addresses drops escaped quotes) --SKIPIF-- --XFAIL-- Fix reverted see GH-29 and GH-30 --FILE-- '; var_dump(mailparse_rfc822_parse_addresses($address)); ?> --EXPECT-- array(1) { [0]=> array(3) { ["display"]=> string(21) "Smith, Robert \"Bob\"" ["address"]=> string(15) "user@domain.org" ["is_group"]=> bool(false) } } tests/gh20.phpt 0000644 00000005057 15217644451 0007363 0 ustar 00 --TEST-- GH issue #20 (Unexpected parsed value of content-id with parentheses) --SKIPIF-- --FILE-- \r\n" . "\r\n" . "iVBOR\r\n"; $resource = mailparse_msg_create(); mailparse_msg_parse($resource, $mime); $part = mailparse_msg_get_part($resource, 1); $data = mailparse_msg_get_part_data($part); echo "content-id: " . $data['content-id'] . "\n"; /* Also test bare content-id without angle brackets */ $mime2 = "Content-Type: image/png\r\n" . "Content-Transfer-Encoding: base64\r\n" . "Content-ID: Facebook_32x32(1)_test.png\r\n" . "\r\n" . "iVBOR\r\n"; $resource2 = mailparse_msg_create(); mailparse_msg_parse($resource2, $mime2); $part2 = mailparse_msg_get_part($resource2, 1); $data2 = mailparse_msg_get_part_data($part2); echo "content-id bare: " . $data2['content-id'] . "\n"; /* Standard RFC-compliant content-id */ $mime3 = "Content-Type: image/png\r\n" . "Content-ID:
\r\n" . "\r\n" . "iVBOR\r\n"; $resource3 = mailparse_msg_create(); mailparse_msg_parse($resource3, $mime3); $part3 = mailparse_msg_get_part($resource3, 1); $data3 = mailparse_msg_get_part_data($part3); echo "content-id rfc: " . $data3['content-id'] . "\n"; /* RFC-compliant content-id with trailing comment */ $mime4 = "Content-Type: image/png\r\n" . "Content-ID:
(comment)\r\n" . "\r\n" . "iVBOR\r\n"; $resource4 = mailparse_msg_create(); mailparse_msg_parse($resource4, $mime4); $part4 = mailparse_msg_get_part($resource4, 1); $data4 = mailparse_msg_get_part_data($part4); echo "content-id trailing comment: " . $data4['content-id'] . "\n"; /* Duplicate Content-ID headers (stored as array internally) */ $mime5 = "Content-Type: image/png\r\n" . "Content-ID:
\r\n" . "Content-ID:
\r\n" . "\r\n" . "iVBOR\r\n"; $resource5 = mailparse_msg_create(); mailparse_msg_parse($resource5, $mime5); $part5 = mailparse_msg_get_part($resource5, 1); $data5 = mailparse_msg_get_part_data($part5); echo "content-id duplicate: " . $data5['content-id'] . "\n"; echo "ok\n"; ?> --EXPECT-- content-id: Facebook_32x32(1)_aa284ba9-f148-4698-9c1f-c8e92bdb842e.png content-id bare: Facebook_32x32(1)_test.png content-id rfc: part1@example.com content-id trailing comment: part1@example.com content-id duplicate: first@example.com ok tests/007.phpt 0000644 00000002235 15217644451 0007124 0 ustar 00 --TEST-- Check RFC822 Conformance --SKIPIF-- --POST-- --GET-- --FILE-- --EXPECT-- :sysmail@Some-Group.Some-Org ":sysmail"@Some-Group.Some-Org I am the greatest the Muhammed.Ali@Vegas.WBA ... strange :":sysmail"@Some-Group.Some-Org,Muhammed.Ali@Vegas.WBA; ":sysmail"@Some-Group.Some-Org Muhammed.Ali@Vegas.WBA ... tests/012.phpt 0000644 00000000663 15217644451 0007123 0 ustar 00 --TEST-- Check mailparse_mimemessage_extract_uue (file mode) --SKIPIF-- --FILE-- extract_uue(0, MAILPARSE_EXTRACT_RETURN)); ?> --EXPECT-- string(88) "FooBar - Baaaaa Requirements: o php with mailparse o virus scanner (optional) " tests/002.phpt 0000644 00000001073 15217644451 0007116 0 ustar 00 --TEST-- Check stream encoding --SKIPIF-- --POST-- --GET-- --FILE-- --EXPECT-- hello, this is some text=3Dhello. tests/testdata/multimedia-demo.exp 0000644 00000057057 15217644451 0013340 0 ustar 00 Message: multimedia-demo Part 1 body-line-count => int(25863) charset => string(8) "us-ascii" content-base => string(1) "/" content-boundary => string(11) "owatagusiam" content-type => string(15) "multipart/mixed" ending-pos => int(1819395) line-count => int(25876) starting-pos => int(0) starting-pos-body => int(390) transfer-encoding => string(4) "8bit" Part 1.1 body-line-count => int(3) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(11) "Explanation" content-type => string(10) "text/plain" ending-pos => int(650) line-count => int(6) starting-pos => int(404) starting-pos-body => int(463) transfer-encoding => string(4) "8bit" Part 1.2 body-line-count => int(106) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(14) "Rich Text demo" content-type => string(14) "message/rfc822" ending-pos => int(5532) line-count => int(109) starting-pos => int(665) starting-pos-body => int(731) transfer-encoding => string(4) "8bit" Part 1.2.1 body-line-count => int(83) charset => string(8) "us-ascii" content-base => string(1) "/" content-boundary => string(55) "Interpart_Boundary_AdJn:mu0M2YtJKaFh9AdJn:mu0M2YtJKaFk=" content-type => string(21) "multipart/alternative" ending-pos => int(5532) line-count => int(106) starting-pos => int(731) starting-pos-body => int(1913) transfer-encoding => string(4) "8bit" Part 1.2.1.1 body-line-count => int(16) charset => string(8) "us-ascii" content-base => string(1) "/" content-type => string(10) "text/plain" ending-pos => int(3249) line-count => int(17) starting-pos => int(2497) starting-pos-body => int(2498) transfer-encoding => string(4) "8bit" Part 1.2.1.2 body-line-count => int(19) charset => string(8) "us-ascii" content-base => string(1) "/" content-boundary => string(57) "Alternative_Boundary_8dJn:mu0M2Yt5KaFZ8AdJn:mu0M2Yt1KaFdA" content-type => string(15) "multipart/mixed" ending-pos => int(4482) line-count => int(22) starting-pos => int(3308) starting-pos-body => int(3411) transfer-encoding => string(4) "8bit" Part 1.2.1.2.1 body-line-count => int(13) charset => string(8) "us-ascii" content-base => string(1) "/" content-type => string(13) "text/richtext" ending-pos => int(4418) line-count => int(16) starting-pos => int(3471) starting-pos-body => int(3544) transfer-encoding => string(16) "quoted-printable" Part 1.2.1.3 body-line-count => int(27) charset => string(8) "us-ascii" content-base => string(1) "/" content-type => string(24) "application/andrew-inset" ending-pos => int(5470) line-count => int(29) starting-pos => int(4540) starting-pos-body => int(4580) transfer-encoding => string(4) "8bit" Part 1.3 body-line-count => int(7605) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(15) "Voice Mail demo" content-type => string(14) "message/rfc822" ending-pos => int(560279) line-count => int(7608) starting-pos => int(5546) starting-pos-body => int(5613) transfer-encoding => string(4) "8bit" Part 1.3.1 body-line-count => int(7586) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(7) "Hi Mark" content-type => string(11) "audio/basic" ending-pos => int(560279) line-count => int(7605) starting-pos => int(5613) starting-pos-body => int(6556) transfer-encoding => string(6) "base64" Part 1.4 body-line-count => int(465) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(11) "Flint phone" content-type => string(11) "audio/basic" ending-pos => int(596156) line-count => int(469) starting-pos => int(560293) starting-pos-body => int(560387) transfer-encoding => string(6) "base64" Part 1.5 body-line-count => int(23) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(11) "MTR's photo" content-type => string(9) "image/pbm" ending-pos => int(598054) line-count => int(27) starting-pos => int(596171) starting-pos-body => int(596263) transfer-encoding => string(6) "base64" Part 1.6 body-line-count => int(4565) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(15) "Star Trek Party" content-type => string(14) "message/rfc822" ending-pos => int(776452) line-count => int(4568) starting-pos => int(598069) starting-pos-body => int(598136) transfer-encoding => string(4) "8bit" Part 1.6.1 body-line-count => int(4532) charset => string(8) "us-ascii" content-base => string(1) "/" content-boundary => string(14) "Outermost_Trek" content-type => string(15) "multipart/mixed" ending-pos => int(776452) line-count => int(4565) starting-pos => int(598136) starting-pos-body => int(599956) transfer-encoding => string(4) "8bit" Part 1.6.1.1 body-line-count => int(451) charset => string(8) "us-ascii" content-base => string(1) "/" content-boundary => string(28) "Where_No_One_Has_Gone_Before" content-type => string(15) "multipart/mixed" ending-pos => int(631998) line-count => int(453) starting-pos => int(599973) starting-pos-body => int(600042) transfer-encoding => string(4) "8bit" Part 1.6.1.1.1 body-line-count => int(16) charset => string(8) "us-ascii" content-base => string(1) "/" content-type => string(10) "text/plain" ending-pos => int(600789) line-count => int(17) starting-pos => int(600073) starting-pos-body => int(600074) transfer-encoding => string(4) "8bit" Part 1.6.1.1.2 body-line-count => int(426) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(14) "He's dead, Jim" content-type => string(11) "audio/x-sun" ending-pos => int(631964) line-count => int(430) starting-pos => int(600821) starting-pos-body => int(600918) transfer-encoding => string(6) "base64" Part 1.6.1.2 body-line-count => int(3418) charset => string(8) "us-ascii" content-base => string(1) "/" content-boundary => string(28) "Where_No_Man_Has_Gone_Before" content-type => string(15) "multipart/mixed" ending-pos => int(729141) line-count => int(3420) starting-pos => int(632015) starting-pos-body => int(632084) transfer-encoding => string(4) "8bit" Part 1.6.1.2.1 body-line-count => int(352) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(16) "Kirk/Spock/McCoy" content-type => string(9) "image/gif" ending-pos => int(657860) line-count => int(356) starting-pos => int(632115) starting-pos-body => int(632212) transfer-encoding => string(6) "base64" Part 1.6.1.2.2 body-line-count => int(253) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(25) "Star Trek Next Generation" content-type => string(9) "image/gif" ending-pos => int(676411) line-count => int(257) starting-pos => int(657892) starting-pos-body => int(657998) transfer-encoding => string(6) "base64" Part 1.6.1.2.3 body-line-count => int(2436) charset => string(8) "us-ascii" content-base => string(1) "/" content-type => string(17) "application/x-be2" content-version => string(2) "12" ending-pos => int(720176) line-count => int(2438) starting-pos => int(676443) starting-pos-body => int(676487) transfer-encoding => string(4) "8bit" Part 1.6.1.2.4 body-line-count => int(357) charset => string(8) "us-ascii" content-base => string(1) "/" content-type => string(22) "application/atomicmail" content-version => string(4) "1.12" ending-pos => int(729107) line-count => int(359) starting-pos => int(720208) starting-pos-body => int(720261) transfer-encoding => string(4) "8bit" Part 1.6.1.3 body-line-count => int(647) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(14) "Distress calls" content-type => string(11) "audio/x-sun" ending-pos => int(776430) line-count => int(651) starting-pos => int(729158) starting-pos-body => int(729255) transfer-encoding => string(6) "base64" Part 1.7 body-line-count => int(483) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(14) "Digitizer test" content-type => string(14) "message/rfc822" ending-pos => int(862163) line-count => int(486) starting-pos => int(776466) starting-pos-body => int(776532) transfer-encoding => string(4) "8bit" Part 1.7.1 body-line-count => int(457) charset => string(8) "us-ascii" content-base => string(1) "/" content-boundary => string(24) "mail.sleepy.sau.144.8891" content-type => string(15) "multipart/mixed" ending-pos => int(862163) line-count => int(483) starting-pos => int(776532) starting-pos-body => int(777838) transfer-encoding => string(4) "8bit" Part 1.7.1.1 body-line-count => int(0) charset => string(8) "us-ascii" content-base => string(1) "/" content-type => string(10) "text/plain" ending-pos => int(777887) line-count => int(1) starting-pos => int(777865) starting-pos-body => int(777866) transfer-encoding => string(4) "8bit" Part 1.7.1.2 body-line-count => int(433) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(12) "Bellcore mug" content-type => string(9) "image/pgm" ending-pos => int(861843) line-count => int(439) starting-pos => int(777915) starting-pos-body => int(778102) transfer-encoding => string(6) "base64" Part 1.7.1.3 body-line-count => int(8) charset => string(8) "us-ascii" content-base => string(1) "/" content-type => string(10) "text/plain" ending-pos => int(862131) line-count => int(9) starting-pos => int(861871) starting-pos-body => int(861872) transfer-encoding => string(4) "8bit" Part 1.8 body-line-count => int(431) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(12) "More Imagery" content-type => string(14) "message/rfc822" ending-pos => int(936281) line-count => int(434) starting-pos => int(862177) starting-pos-body => int(862241) transfer-encoding => string(4) "8bit" Part 1.8.1 body-line-count => int(406) charset => string(8) "us-ascii" content-base => string(1) "/" content-boundary => string(23) "mail.sleepy.sau.158.532" content-type => string(15) "multipart/mixed" ending-pos => int(936281) line-count => int(431) starting-pos => int(862241) starting-pos-body => int(863504) transfer-encoding => string(4) "8bit" Part 1.8.1.1 body-line-count => int(26) charset => string(8) "us-ascii" content-base => string(1) "/" content-type => string(10) "text/plain" ending-pos => int(864751) line-count => int(27) starting-pos => int(863530) starting-pos-body => int(863531) transfer-encoding => string(4) "8bit" Part 1.8.1.2 body-line-count => int(369) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(23) "Mail architecture slide" content-type => string(9) "image/pbm" ending-pos => int(936251) line-count => int(374) starting-pos => int(864778) starting-pos-body => int(864934) transfer-encoding => string(6) "base64" Part 1.9 body-line-count => int(6438) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(15) "PostScript demo" content-type => string(14) "message/rfc822" ending-pos => int(1327933) line-count => int(6441) starting-pos => int(936295) starting-pos-body => int(936362) transfer-encoding => string(4) "8bit" Part 1.9.1 body-line-count => int(6421) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(14) "Captain Picard" content-type => string(22) "application/postscript" ending-pos => int(1327933) line-count => int(6438) starting-pos => int(936362) starting-pos-body => int(937199) transfer-encoding => string(4) "8bit" Part 1.10 body-line-count => int(1015) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(21) "Quoted-Printable test" content-type => string(9) "image/gif" ending-pos => int(1405346) line-count => int(1019) starting-pos => int(1327947) starting-pos-body => int(1328059) transfer-encoding => string(16) "quoted-printable" Part 1.11 body-line-count => int(1382) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(19) "q-p vs. base64 test" content-type => string(14) "message/rfc822" ending-pos => int(1507736) line-count => int(1385) starting-pos => int(1405361) starting-pos-body => int(1405432) transfer-encoding => string(4) "8bit" Part 1.11.1 body-line-count => int(1368) charset => string(8) "us-ascii" content-base => string(1) "/" content-boundary => string(8) "hal_9000" content-type => string(15) "multipart/mixed" ending-pos => int(1507736) line-count => int(1382) starting-pos => int(1405432) starting-pos-body => int(1406106) transfer-encoding => string(4) "8bit" Part 1.11.1.1 body-line-count => int(807) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(21) "I'm sorry, Dave (q-p)" content-type => string(11) "audio/basic" ending-pos => int(1467518) line-count => int(811) starting-pos => int(1406117) starting-pos-body => int(1406231) transfer-encoding => string(16) "quoted-printable" Part 1.11.1.2 body-line-count => int(549) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(24) "I'm sorry, Dave (BASE64)" content-type => string(11) "audio/basic" ending-pos => int(1507722) line-count => int(553) starting-pos => int(1467530) starting-pos-body => int(1467637) transfer-encoding => string(6) "base64" Part 1.12 body-line-count => int(3282) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(22) "Multiple encapsulation" content-type => string(14) "message/rfc822" ending-pos => int(1819378) line-count => int(3285) starting-pos => int(1507750) starting-pos-body => int(1507824) transfer-encoding => string(4) "8bit" Part 1.12.1 body-line-count => int(3271) charset => string(8) "us-ascii" content-base => string(1) "/" content-boundary => string(36) "16819560-2078917053-688350843:#11603" content-type => string(15) "multipart/mixed" ending-pos => int(1819378) line-count => int(3282) starting-pos => int(1507824) starting-pos-body => int(1508362) transfer-encoding => string(4) "8bit" Part 1.12.1.1 body-line-count => int(861) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(14) "The Simpsons!!" content-type => string(22) "application/postscript" ending-pos => int(1560994) line-count => int(865) starting-pos => int(1508401) starting-pos-body => int(1508509) transfer-encoding => string(6) "base64" Part 1.12.1.2 body-line-count => int(299) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(28) "Alice's PDP-10 w/ TECO & DDT" content-name => string(13) "Alices_PDP-10" content-type => string(6) "binary" ending-pos => int(1579392) line-count => int(303) starting-pos => int(1561034) starting-pos-body => int(1561161) transfer-encoding => string(6) "base64" Part 1.12.1.3 body-line-count => int(2094) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(12) "Going deeper" content-type => string(14) "message/rfc822" ending-pos => int(1819337) line-count => int(2097) starting-pos => int(1579432) starting-pos-body => int(1579496) transfer-encoding => string(4) "8bit" Part 1.12.1.3.1 body-line-count => int(2087) charset => string(8) "us-ascii" content-base => string(1) "/" content-boundary => string(12) "foobarbazola" content-type => string(15) "multipart/mixed" ending-pos => int(1819337) line-count => int(2094) starting-pos => int(1579496) starting-pos-body => int(1579726) transfer-encoding => string(4) "8bit" Part 1.12.1.3.1.1 body-line-count => int(7) charset => string(8) "us-ascii" content-base => string(1) "/" content-type => string(10) "text/plain" ending-pos => int(1580054) line-count => int(8) starting-pos => int(1579741) starting-pos-body => int(1579742) transfer-encoding => string(4) "8bit" Part 1.12.1.3.1.2 body-line-count => int(838) charset => string(8) "us-ascii" content-base => string(1) "/" content-boundary => string(13) "seconddivider" content-type => string(18) "multipart/parallel" ending-pos => int(1739553) line-count => int(840) starting-pos => int(1580070) starting-pos-body => int(1580127) transfer-encoding => string(4) "8bit" Part 1.12.1.3.1.2.1 body-line-count => int(16) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(5) "Bunny" content-type => string(9) "image/gif" ending-pos => int(1583489) line-count => int(20) starting-pos => int(1580143) starting-pos-body => int(1580229) transfer-encoding => string(6) "base64" Part 1.12.1.3.1.2.2 body-line-count => int(807) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(14) "TV Theme songs" content-type => string(11) "audio/basic" ending-pos => int(1739502) line-count => int(811) starting-pos => int(1583506) starting-pos-body => int(1583603) transfer-encoding => string(6) "base64" Part 1.12.1.3.1.3 body-line-count => int(195) charset => string(8) "us-ascii" content-base => string(1) "/" content-type => string(22) "application/atomicmail" ending-pos => int(1744335) line-count => int(197) starting-pos => int(1739568) starting-pos-body => int(1739606) transfer-encoding => string(4) "8bit" Part 1.12.1.3.1.4 body-line-count => int(1031) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(27) "Yet another level deeper..." content-type => string(14) "message/rfc822" ending-pos => int(1819320) line-count => int(1034) starting-pos => int(1744351) starting-pos-body => int(1744430) transfer-encoding => string(4) "8bit" Part 1.12.1.3.1.4.1 body-line-count => int(1023) charset => string(8) "us-ascii" content-base => string(1) "/" content-description => string(13) "I'm Twying..." content-type => string(11) "audio/x-sun" ending-pos => int(1819320) line-count => int(1031) starting-pos => int(1744430) starting-pos-body => int(1744660) transfer-encoding => string(6) "base64" tests/testdata/qp.exp 0000644 00000002272 15217644451 0010671 0 ustar 00 Message: qp Part 1 body-line-count => int(27) charset => string(8) "us-ascii" content-base => string(1) "/" content-boundary => string(41) "----=_NextPart_000_0003_01C2566B.C7AC6A50" content-type => string(15) "multipart/mixed" ending-pos => int(1438) line-count => int(47) starting-pos => int(0) starting-pos-body => int(839) transfer-encoding => string(4) "8bit" Part 1.1 body-line-count => int(1) charset => string(8) "us-ascii" content-base => string(1) "/" content-charset => string(8) "us-ascii" content-type => string(10) "text/plain" ending-pos => int(1048) line-count => int(5) starting-pos => int(929) starting-pos-body => int(1008) transfer-encoding => string(4) "7bit" Part 1.2 body-line-count => int(7) charset => string(8) "us-ascii" content-base => string(1) "/" content-disposition => string(10) "attachment" content-name => string(6) "README" content-type => string(24) "application/octet-stream" disposition-filename => string(6) "README" ending-pos => int(1389) line-count => int(13) starting-pos => int(1093) starting-pos-body => int(1245) transfer-encoding => string(16) "quoted-printable" tests/testdata/uue.exp 0000644 00000000436 15217644451 0011047 0 ustar 00 Message: uue Part 1 body-line-count => int(10) charset => string(8) "us-ascii" content-base => string(1) "/" content-type => string(10) "text/plain" ending-pos => int(945) line-count => int(27) starting-pos => int(0) starting-pos-body => int(743) transfer-encoding => string(4) "8bit" tests/testdata/mime.txt 0000644 00000002641 15217644451 0011223 0 ustar 00 Return-Path:
Received: from TITAN (titan.brainnet.i [192.168.2.7]) by zaneeb.brainnet.i (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id g87BfJ721279 for
; Sat, 7 Sep 2002 12:41:19 +0100 X-Authentication-Warning: zaneeb.brainnet.i: Host titan.brainnet.i [192.168.2.7] claimed to be TITAN From: "Wez Furlong"
To:
Subject: mime attach Date: Sat, 7 Sep 2002 12:41:14 +0100 Message-ID: <000601c25663$78b7fcf0$0702a8c0@TITAN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0007_01C2566B.DA7C64F0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-TBR-DestBox: user.wez (auth as wez) (wez:) This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C2566B.DA7C64F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit this is a message with regular mime attachment. ------=_NextPart_000_0007_01C2566B.DA7C64F0 Content-Type: application/octet-stream; name="README" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="README" FooBar - blah blah blah foo bar bar baaaa=0A= =0A= Requirements: =0A= o php with mailparse=0A= o virus scanner (optional)=0A= =0A= =0A= ------=_NextPart_000_0007_01C2566B.DA7C64F0-- tests/testdata/mime.exp 0000644 00000002274 15217644451 0011202 0 ustar 00 Message: mime Part 1 body-line-count => int(27) charset => string(8) "us-ascii" content-base => string(1) "/" content-boundary => string(41) "----=_NextPart_000_0007_01C2566B.DA7C64F0" content-type => string(15) "multipart/mixed" ending-pos => int(1441) line-count => int(47) starting-pos => int(0) starting-pos-body => int(836) transfer-encoding => string(4) "8bit" Part 1.1 body-line-count => int(1) charset => string(8) "us-ascii" content-base => string(1) "/" content-charset => string(8) "us-ascii" content-type => string(10) "text/plain" ending-pos => int(1053) line-count => int(5) starting-pos => int(926) starting-pos-body => int(1005) transfer-encoding => string(4) "7bit" Part 1.2 body-line-count => int(7) charset => string(8) "us-ascii" content-base => string(1) "/" content-disposition => string(10) "attachment" content-name => string(6) "README" content-type => string(24) "application/octet-stream" disposition-filename => string(6) "README" ending-pos => int(1392) line-count => int(13) starting-pos => int(1098) starting-pos-body => int(1250) transfer-encoding => string(16) "quoted-printable" tests/testdata/m0001.txt 0000644 00000004326 15217644451 0011033 0 ustar 00 From name@company.com Sun Jun 16 17:50:14 2013 Received: from mail-ie0-f173.google.com (mail-ie0-f173.google.com [209.85.223.173]) by company2.com (Postfix) with ESMTPS id 8025F4681306 for
; Sun, 16 Jun 2013 17:50:14 +0200 (CEST) Received: by mail-ie0-f173.google.com with SMTP id k13so5038157iea.32 for
; Sun, 16 Jun 2013 08:50:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=yZj7VZhlR/PC1Ppu6D0HAEDO6wGp8lIzn0x6tvCe3I0=; b=jDV0df6Zqrc7DP43NsjWyCKGyr8fOtvZXb0Qn91R51Q8zoALJyjEn6RBmWnc7OONJz asvLY+/JdPz8+z/TrK3x+0EHGMMSQb4vM6gtKVZc2b1M/EBt0vjyZw1d9DFhDgCQ8XnA VHAHEW9LpA8GEXEJIJzLm/ALK08jvSas/Y7FLUnI5pfsuy5cqdupQO/krfmuHP1THRGG RV/mPaLXXGmGjpmgbJGpiXwHdGvOgwXd0/beBWmNBp4DcXOocpy3Ugw64ocF35ryEmuE jdtVB+JIcrsQWLueoB4lo4lkBfeej58pv0dH4WX/6T1fZXwbyAGtYgq4cPZ1OZKlQgPa aChQ== MIME-Version: 1.0 X-Received: by 10.50.129.4 with SMTP id ns4mr3026228igb.4.1371397812268; Sun, 16 Jun 2013 08:50:12 -0700 (PDT) Received: by 10.50.60.1 with HTTP; Sun, 16 Jun 2013 08:50:12 -0700 (PDT) X-Originating-IP: [81.33.22.111] Date: Sun, 16 Jun 2013 17:50:12 +0200 Message-ID:
Subject: =?ISO-8859-1?Q?Mail_avec_fichier_attach=E9_de_1ko?= From: Name
To: name@company2.com Content-Type: multipart/mixed; boundary=047d7b1635f77236f404df476f85 X-Gm-Message-State: ALoCoQnQSAw+kmVESrneMgv1tjuPZLL9itnGr0ueHbj8xt5Y1NkSMtHMT4mREA6HEEZO/aD18SJ2 --047d7b1635f77236f404df476f85 Content-Type: multipart/alternative; boundary=047d7b1635f77236f004df476f83 --047d7b1635f77236f004df476f83 Content-Type: text/plain; charset=ISO-8859-1 --047d7b1635f77236f004df476f83 Content-Type: text/html; charset=ISO-8859-1
--047d7b1635f77236f004df476f83-- --047d7b1635f77236f404df476f85 Content-Type: application/octet-stream; name=attach01 Content-Disposition: attachment; filename=attach01 Content-Transfer-Encoding: base64 X-Attachment-Id: f_hi0eudw60 YQo= --047d7b1635f77236f404df476f85-- tests/testdata/multimedia-demo.txt.gz 0000644 00003323475 15217644451 0014005 0 ustar 00 = multimedia-demo.txt YJ&_骗<C#k6Ɛ F[ɩ2;v!kgp4h\Q~wq|$> L>!RU%݇s? ?m 84hV&;aD"G<8)^e5A~q9-IH~&MCUKg^_ggty _}A|#(>cҶw.] jگFDU<ͯQs]dq/xHϗ :q-Ug ܙ`Q*ʟY8h?௦~?ZM|#)j c>s4G*<xjoG77ٽ>!i};hPL8Sǿp\ϟ5:m$8=9DɃ%tNQQkwߐs>AUU\-?N {NүǏG)Fˇ'U}PCP~Hj/N@; ENU@ӈ@"Fߋ>;=U&yW߿qY{w$eط?ȿHOTÒOx$]ˎ. %ht_6