erme Posted March 8, 2010 Share Posted March 8, 2010 Hi, I've created an attachment contact form where a user can add an attachment. Works fine, except when displaying the email in outlook it displays stuff like this: Content-Type: multipart/mixed; boundary=098bf647f020a484b28920c9d6bb22d3 --098bf647f020a484b28920c9d6bb22d3 Message-ID: <Array TheSystem@www.xxx.co.uk> X-Mailer: PHP v5.1.6 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit user has completed the contact form:<br /><br /> Message: <br /> --098bf647f020a484b28920c9d6bb22d3 Content-Type:image/pjpeg name="mounting diagram.jpg"r Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="diagram.jpg" /9j/4AAQSkZJRgABAgEASABIAAD/4Q9ZRXhpZgAATU0AKgAAAAgABwESAAMAAAABAAEAAAEaAAUA AAABAAAAYgEbAAUAAAABAAAAagEoAAMAAAABAAIAAAExAAIAAAAcAAAAcgEyAAIAAAAUAAAAjodp AAQAAAABAAAApAAAANAACvyAAAAnEAAK/IAAACcQQWRvYmUgUGhvdG9zaG9wIENTMyBXaW5kb3dz ADIwMTA6MDI6MTcgMDg6NTQ6NDIAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAEPaADAAQAAAAB THIS GOES ON FOR SOMETIME SO HAVE CUT IT SHORT The email is displayed correctly in Thunderbird and webmail. Anyone know what's happening? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.