Подскажите, плиз.
Имею такой файл (incomeletters.txt)
Код: +OK POP Ya! v1.0na
USER delta2-greit
+OK password, please.
PASS ******
+OK 4 message(s) 49782 bytes.
STAT
+OK 4 49782
LIST
+OK 4 49782
1 12443
2 12447
3 12449
4 12443
.
UIDL 1
+OK 1 317a487b85a13d2606349c0aa4b9e731
RETR 1
+OK 12443 octets.
Received: from smtp4.yandex.ru (smtp4.yandex.ru [213.180.223.136])
by mxback1.yandex.ru (Postfix) with ESMTP id 7451263FA2
for <delta2-greit[сами_знаете_что]yandex.ru>; Wed, 22 Oct 2008 16:20:56 +0400 (MSD)
Received: from 57-172.dialup.primorye.ru ([81.2.57.172]:54791 "EHLO
a62fc6637610461" smtp-auth: "delta-greit" TLS-CIPHER: <none>
TLS-PEER-CN1: <none>) by mail.yandex.ru with ESMTP id S966850AbYJVMU4
(ORCPT <rfc822;delta2-greit[сами_знаете_что]yandex.ru>);
Wed, 22 Oct 2008 16:20:56 +0400
X-Yandex-Spam: 1
X-Yandex-Front: smtp4
X-Yandex-TimeMark: 1224678056
X-BornDate: 1154552400
X-Yandex-Karma: 0
X-Yandex-KarmaStatus: 0
X-MsgDayCount: 37
X-Comment: RFC 2476 MSA function at smtp4.yandex.ru logged sender identity as: delta-greit
Date: Wed, 22 Oct 2008 23:20:47 +1100
From: delta-greit[сами_знаете_что]yandex.ru
To: delta2-greit[сами_знаете_что]yandex.ru
X-Mailer: Blat v2.6.2 w/GSS encryption, a Win32 SMTP/NNTP mailer
http://www.blat.net Message-ID: <01c93440$Blat.v2.6.2$9cf5817a$cb4daf3883a[сами_знаете_что]yandex.ru>
Subject: =?Windows-1251?B?8e/g8ejh7iDn4CDv7uzu+fw=?=
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="=_BlatBoundary-bFJAaaP70OBdEaKcFnAtU"
This is a multi-part message in MIME format.
--=_BlatBoundary-bFJAaaP70OBdEaKcFnAtU
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=Windows-1251
=CF=F0=E8=E2=E5=F2
=EA=E0=EA =E4=E5=EB=E0=3F2
--=_BlatBoundary-bFJAaaP70OBdEaKcFnAtU
Content-Type: application/octet-stream;
name="2_Slavinka4_per_7.zip"
Content-Disposition: ATTACHMENT;
filename="2_Slavinka4_per_7.zip"
Content-Transfer-Encoding: BASE64
4sdjlskjuwerYYIOIJOIU&%%&Zw0AAKIdAAAJAH0ARGVsdGEuZGFsU0RoAKwAAAAACAAIFZz
Y2RgaRFhYGAwYIAAHyBmZAUzWUWBxD4WO6MvAbtK2J9aa39hxC3HyMTAwMSQwMACkhWQYPjP
AgCTAAAAmx4AAAAA
--=_BlatBoundary-bFJAaaP70OBdEaKcFnAtU--
.
UIDL 2
+OK 2 aaca04fdd9bf08647bb98d69dd15d97c
RETR 2
+OK 12447 octets.
Received: from smtp11.yandex.ru (smtp11.yandex.ru [213.180.223.93])
by mxback1.yandex.ru (Postfix) with ESMTP id 5DE5D63F9C
for <delta2-greit[сами_знаете_что]yandex.ru>; Wed, 22 Oct 2008 16:20:55 +0400 (MSD)
Received: from 57-172.dialup.primorye.ru ([81.2.57.172]:54023 "EHLO
a62fc6637610461" smtp-auth: "delta-greit" TLS-CIPHER: <none>
TLS-PEER-CN1: <none>) by mail.yandex.ru with ESMTP id S5095627AbYJVMUr
(ORCPT <rfc822;delta2-greit[сами_знаете_что]yandex.ru>);
Wed, 22 Oct 2008 16:20:47 +0400
X-Yandex-Spam: 1
X-Yandex-Front: smtp11
X-Yandex-TimeMark: 1224678047
X-BornDate: 1154552400
X-Yandex-Karma: 0
X-Yandex-KarmaStatus: 0
X-MsgDayCount: 36
X-Comment: RFC 2476 MSA function at smtp11.yandex.ru logged sender identity as: delta-greit
Date: Wed, 22 Oct 2008 23:20:39 +1100
From: delta-greit[сами_знаете_что]yandex.ru
To: delta2-greit[сами_знаете_что]yandex.ru
X-Mailer: Blat v2.6.2 w/GSS encryption, a Win32 SMTP/NNTP mailer
http://www.blat.net Message-ID: <01c93440$Blat.v2.6.2$98143142$a94e3fea18c[сами_знаете_что]yandex.ru>
Subject: =?Windows-1251?B?8e/g8ejh7iDn4CDv7uzu+fw=?=
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="=_BlatBoundary-haVy4pDehw3lAso0xJE3V"
This is a multi-part message in MIME format.
--=_BlatBoundary-haVy4pDehw3lAso0xJE3V
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=Windows-1251
=CF=F0=E8=E2=E5=F2
=EA=E0=EA =E4=E5=EB=E0=3F2
--=_BlatBoundary-haVy4pDehw3lAso0xJE3V
Content-Type: application/octet-stream;
name="2_Slavinka3_per_7.zip"
Content-Disposition: ATTACHMENT;
filename="2_Slavinka3_per_7.zip"
Content-Transfer-Encoding: BASE64
3UEsDBBQAAAAIABE8fDeSyHbW4827348jdfkashdfdlskjdauZGFsU0RoAKwAAAAACAAIFZz
Y2RgaRFhYGAwYIAAHyBmZAUzWUWBxD4WO6MvAbtK2J9aa3fkjasflkjlkjfsfMACkhWQYPjP
AgCTAAAAmx4AAAAA
--=_BlatBoundary-haVy4pDehw3lAso0xJE3V--
.
UIDL 3
+OK 3 2db3021994ccef945d58a32680951d0c
RETR 3
+OK 12449 octets.
Received: from smtp10.yandex.ru (smtp10.yandex.ru [213.180.223.92])
by mxback24.yandex.ru (Postfix) with ESMTP id 871232D69DE
for <delta2-greit[сами_знаете_что]yandex.ru>; Wed, 22 Oct 2008 16:20:45 +0400 (MSD)
Received: from 57-172.dialup.primorye.ru ([81.2.57.172]:53255 "EHLO
a62fc6637610461" smtp-auth: "delta-greit" TLS-CIPHER: <none>
TLS-PEER-CN1: <none>) by mail.yandex.ru with ESMTP id S5882066AbYJVMUk
(ORCPT <rfc822;delta2-greit[сами_знаете_что]yandex.ru>);
Wed, 22 Oct 2008 16:20:40 +0400
X-Yandex-Spam: 1
X-Yandex-Front: smtp10
X-Yandex-TimeMark: 1224678040
X-BornDate: 1154552400
X-Yandex-Karma: 0
X-Yandex-KarmaStatus: 0
X-MsgDayCount: 35
X-Comment: RFC 2476 MSA function at smtp10.yandex.ru logged sender identity as: delta-greit
Date: Wed, 22 Oct 2008 23:20:31 +1100
From: delta-greit[сами_знаете_что]yandex.ru
To: delta2-greit[сами_знаете_что]yandex.ru
X-Mailer: Blat v2.6.2 w/GSS encryption, a Win32 SMTP/NNTP mailer
http://www.blat.net Message-ID: <01c93440$Blat.v2.6.2$936e7bd4$f501d8017b9[сами_знаете_что]yandex.ru>
Subject: =?Windows-1251?B?8e/g8ejh7iDn4CDv7uzu+fw=?=
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="=_BlatBoundary-PYzZdEWPkCEywvp8l49Ot"
This is a multi-part message in MIME format.
--=_BlatBoundary-PYzZdEWPkCEywvp8l49Ot
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=Windows-1251
=CF=F0=E8=E2=E5=F2
=EA=E0=EA =E4=E5=EB=E0=3F2
--=_BlatBoundary-PYzZdEWPkCEywvp8l49Ot
Content-Type: application/octet-stream;
name="2_Slavinka2_per_7.zip"
Content-Disposition: ATTACHMENT;
filename="2_Slavinka2_per_7.zip"
Content-Transfer-Encoding: BASE64
2UEsDBBQAAAAIABE8fDeSyHbWZw0AAKIdAAAJAH0ARGVsdGEuZGFsU0RoAKwAAAAACAAIFZz
Y2RgaRFhYGAwYIAAHyBmZAUzWUWBxD4WO6MvAbtK2J9aa39hxC3HyMTAwMSQwMACkhWQYPjP
fkdf;k3i&*^*^*&YOjiojUYYTRooiijuZGFsU0QEAKwAAABVVAUAB/GMTEdQSwUGAAAAAAIA
AgCTAAAAmx4AAAAA
--=_BlatBoundary-PYzZdEWPkCEywvp8l49Ot--
.
UIDL 4
+OK 4 77c142d48fbdf7746f1a04b0859a4b76
RETR 4
+OK 12443 octets.
Received: from smtp4.yandex.ru (smtp4.yandex.ru [213.180.223.136])
by mxback1.yandex.ru (Postfix) with ESMTP id 8186863F9A
for <delta2-greit[сами_знаете_что]yandex.ru>; Wed, 22 Oct 2008 16:20:34 +0400 (MSD)
Received: from 57-172.dialup.primorye.ru ([81.2.57.172]:52487 "EHLO
a62fc6637610461" smtp-auth: "delta-greit" TLS-CIPHER: <none>
TLS-PEER-CN1: <none>) by mail.yandex.ru with ESMTP id S966864AbYJVMUc
(ORCPT <rfc822;delta2-greit[сами_знаете_что]yandex.ru>);
Wed, 22 Oct 2008 16:20:32 +0400
X-Yandex-Spam: 1
X-Yandex-Front: smtp4
X-Yandex-TimeMark: 1224678032
X-BornDate: 1154552400
X-Yandex-Karma: 0
X-Yandex-KarmaStatus: 0
X-MsgDayCount: 34
X-Comment: RFC 2476 MSA function at smtp4.yandex.ru logged sender identity as: delta-greit
Date: Wed, 22 Oct 2008 23:20:23 +1100
From: delta-greit[сами_знаете_что]yandex.ru
To: delta2-greit[сами_знаете_что]yandex.ru
X-Mailer: Blat v2.6.2 w/GSS encryption, a Win32 SMTP/NNTP mailer
http://www.blat.net Message-ID: <01c93440$Blat.v2.6.2$8eb815f0$9e4495ab3c5[сами_знаете_что]yandex.ru>
Subject: =?Windows-1251?B?8e/g8ejh7iDn4CDv7uzu+fw=?=
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="=_BlatBoundary-1tBs7TKxSj65ODJWxah5u"
This is a multi-part message in MIME format.
--=_BlatBoundary-1tBs7TKxSj65ODJWxah5u
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=Windows-1251
=CF=F0=E8=E2=E5=F2
=EA=E0=EA =E4=E5=EB=E0=3F2
--=_BlatBoundary-1tBs7TKxSj65ODJWxah5u
Content-Type: application/octet-stream;
name="2_Slavinka1_per_7.zip"
Content-Disposition: ATTACHMENT;
filename="2_Slavinka1_per_7.zip"
Content-Transfer-Encoding: BASE64
1UEsDBBQAAAAIABE8fDeSyHbWZw0AAKIdAAAJAH0AasdasdE23423424oAKwAAAAACAAIFZz
AAAAAAAAACAAtoELDgAAQWN0aW9uMTIjkasdlkajsldkasdVVAUAB/GMTEdQSwUGAAAAAAIA
AgCTAAAAmx4AAAAA
--=_BlatBoundary-1tBs7TKxSj65ODJWxah5u--
.
QUIT
+OK shutting down.
0