I've tried a class for sending attachments.
I am trying to send a simple mail with a jpg attached.
However when it gets to the recipients outlook in box. The attachment does not work instead you get:
This is a MIME
encoded message.
--b55de5923797e9d86e058274d84402440
Content-Type: text/plain
Content-Transfer-Encoding: base64
VGhpcyBpcyB0aGUgYm9keSBvZiB0aGUgdGVzdCBlbWFpbA==
--b55de5923797e9d86e058274d84402440
Content-Type: image/jpeg; name = "testfile.jpg"
Content-Transfer-Encoding: base64
/9j/4AAQSkZJRgABAQEAyADIAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsK
CwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQU
FBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAH0Av4DASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
etc, etc
Basically reads the whole file into the text file.
Any ideas?
Cheers
Damien
P.S. System is PHP on Linux with exim mail program.