输出$head:headMime-Version: 1.0
Content-Type: multipart/mixed; boundary="===957a8c1acda3fc8976317953a00ea909==="This is a multi-part message in MIME format.--===957a8c1acda3fc8976317953a00ea909===
Content-Type: text/plain--===957a8c1acda3fc8976317953a00ea909===
Content-Type: application/octet-stream; name="a.txt"
Content-Transfer-Encoding: BASE64
Content-Disposition: attachment; filename="a.txt"c2Rmc2Rmc2Rmc2Rmc2Q=
--===957a8c1acda3fc8976317953a00ea909===--
Content-Type: multipart/mixed; boundary="===957a8c1acda3fc8976317953a00ea909==="This is a multi-part message in MIME format.--===957a8c1acda3fc8976317953a00ea909===
Content-Type: text/plain--===957a8c1acda3fc8976317953a00ea909===
Content-Type: application/octet-stream; name="a.txt"
Content-Transfer-Encoding: BASE64
Content-Disposition: attachment; filename="a.txt"c2Rmc2Rmc2Rmc2Rmc2Q=
--===957a8c1acda3fc8976317953a00ea909===--
还是不行
附件打不开,正文不显示
研究一下phpmailer类吧.的确,这个也不错的。不妨一试。