Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

wrong MIME type for jpg attachment: how to fix?

210 views
Skip to first unread message

James Buddenhagen

unread,
Apr 24, 2005, 3:11:06 PM4/24/05
to
When I use Outlook Express version 6.00.2800.1123 to
send email with a jpg attachment it uses MIME type as
follows:

Content-Type: application/octet-stream;
name="mypic.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="mypic.jpg"

The "application/octet-stream" causes problems for the
recipient. I would like the MIME type to be like:

Content-Type: image/jpeg;
name="mypic.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="mypic.jpg"

i.e change the "application/octet-stream;" to "image/jpeg;"

How can I do this, i.e. change from "octet-stream" to
"image/jpeg;"? This does not seem to be a configurable item.
I fear I must edit the registry, which I have never done
before.

Any help is appreciated. Is the "octet-stream" really the
default for jpg attachments under OE? Or has my registry
been munged by installing irfanview or some other picture
view/edit program? BTW, I am using Windows 2000.
--
Jim Buddenhagen

Michael Santovec

unread,
Apr 24, 2005, 8:40:27 PM4/24/05
to
It's in the file associations. Depending on you version of Windows, you might be able to
fix it there.

Or you can copy/paste the following lines into Notepad and save with a *.REG name (e.g.
IMAGEFIX.REG). Then double click the REG file to run.

REGEDIT4
[HKEY_CLASSES_ROOT\.GIF]
"Content Type"="image/gif"
[HKEY_CLASSES_ROOT\.JPG]
"Content Type"="image/jpeg"
[HKEY_CLASSES_ROOT\.bmp]
"Content Type"="image/bmp"


This fixes the common image types. You can include the ones you need. The content type
is usually screwed up by the installation of an image editing program that doesn't do
things right.

--

Mike - http://pages.prodigy.net/michael_santovec/techhelp.htm


"James Buddenhagen" <foo...@texas.net> wrote in message
news:ebSae.12632$An2....@newsread2.news.pas.earthlink.net...

James Buddenhagen

unread,
Apr 25, 2005, 10:00:23 AM4/25/05
to
"Michael Santovec" <michael_...@prodigy.net> wrote in message
news:uIOyj9SS...@TK2MSFTNGP09.phx.gbl...

> It's in the file associations. Depending on you version of Windows, you might
be able to
> fix it there.
>
> Or you can copy/paste the following lines into Notepad and save with a *.REG
name (e.g.
> IMAGEFIX.REG). Then double click the REG file to run.
>
> REGEDIT4
> [HKEY_CLASSES_ROOT\.GIF]
> "Content Type"="image/gif"
> [HKEY_CLASSES_ROOT\.JPG]
> "Content Type"="image/jpeg"
> [HKEY_CLASSES_ROOT\.bmp]
> "Content Type"="image/bmp"
>
>
> This fixes the common image types. You can include the ones you need.
> The content type is usually screwed up by the installation of an image
> editing program that doesn't do things right.
>
> --
>
> Mike - http://pages.prodigy.net/michael_santovec/techhelp.htm

That fixed it! MANY THANKS!
--
Jim Buddenhagen


0 new messages