NMS - embedd images - wrong Content-Type

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
cymoon
New Member
New Member
Posts: 3
Joined: Sat Feb 02, 2008 3:57 pm

NMS - embedd images - wrong Content-Type

Post by cymoon »

I am using Newsletter Made Simple Version 2.2.

When I add an image field to my template via {nms_image name='block name'}. I can select an image which is attached to the mail.

But the Content-Type is set to 'application/octet-stream;'. Thunderbird does not read it correctly, since it only displays 'image/jpeg;'.

What NMS creates:
--b1_89342036fbcc8ddeb0c6788b24fde480
Content-Type: application/octet-stream; name="test.jpg"
Content-Transfer-Encoding: base64
Content-ID:
Content-Disposition: inline; filename="test.jpg"
How it should be:
--b1_89342036fbcc8ddeb0c6788b24fde480
Content-Type: image/jpeg; name="test.jpg"
Content-Transfer-Encoding: base64
Content-ID:
Content-Disposition: inline; filename="test.jpg"
How can I teach NMS to set the right content type?
Post Reply

Return to “Modules/Add-Ons”