Подскажите пожалуйста, что я делаю не так? Код (Text): mx.google.com ESMTP helo mx.google.com 250 mx.google.com at your service mail from: <xxx@xxx.ru> 250 2.1.0 OK rcpt to: <xxx@xxx.com> 250 2.1.5 OK data 354 Go ahead Subject: ppp From: xxx@xxx.ru To: xxx@xxx.ru X-Priority: 1 (Highest) X-Mailer: TheBat! Message-Id: <xxxxxxxxxxx@xxx.ru> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_===13023223====_" --_===13023223====_ Content-Type: text/html; charset="windows-1251"; format="flowed" Content-Transfer-Encoding: 8bit zzz --_===13023223====_ Content-Type: application/octet-stream Content-Disposition: attachment; filename="1.txt" Content-Transfer-Encoding: base64 UE9TVCAvIEhUVFAvMS4xDQpIb3N0OiB5YS5ydQ0KDQpxd2VydHk= . 250 2.0.0 OK xxxxxxxxxxxx Приходит пустое письмо, аттач назвается noname, пустой :-(
Всем спасибо. Косяк был в том, что после заголовков каждого mime-куска надо еще одну строку пропускать.