im having some problems with MIME encoded emails with attachments.
if i have no attachment, the email is sent, and recieved correctly, as soon as i make it multipart, everything dies... :xbones:
the email:
Subject: test email
To: x@x.com
From: TML Intranet Administration
Reply-To: x@x.cpm
Sender: "Bill Gates"
X-Mailer: PHP/5.1.4
Importance: high
MIME-Version: 1.0
Content-Type: multipart/mixed
boundary="PMH------7ac8da9343a473bdd14627391f34593a"
Content-Transfer-Encoding: 7bit
This is a MIME encoded message
--PMH------7ac8da9343a473bdd14627391f34593a
Content-Type: text/plain; charset=us-ascii ; name=' BODY';
Content-Transfer-Encoding: 7bit
this is a test message, i think ;
--PMH------7ac8da9343a473bdd14627391f34593a
Content-Type: image/gif ; name='Image.gif ';
Content-Transfer-Encoding:
base64 Content-Description: Image.gif
Content-Disposition: attachment
R0lGODlhDwAWAMQAAAAAAP///zOZ/0Si/1Co/1Kp/1Sp/l6u/l+v/2Gv/mmz/m22/3K3/nS4/ni6 /n+//4TB/orE/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEA ABIALAAAAAAPABYAQAWFoCQBokiWJwo4DaMkQAokSl0nyDEMgpCWwOAK8ohBHIvYoeBT9Z6x4Aj4 +0mvAGLkcVwocgUSgNFwmFuvg4EnNhwA6kJhAOidxKbpVEbto/x5UjGDWERHaAgGMg8RMQ9ISmEj ZYYsLokEPgAKDAueLjhLbCMICDCDADxNJnIFBDtQWKhBIQA7 ;
--PMH------7ac8da9343a473bdd14627391f34593a--
any ideas?