MacResource
why would a photo cause gibberish in email? - Printable Version

+- MacResource (https://forums.macresource.com)
+-- Forum: My Category (https://forums.macresource.com/forumdisplay.php?fid=1)
+--- Forum: Tips and Deals (https://forums.macresource.com/forumdisplay.php?fid=3)
+--- Thread: why would a photo cause gibberish in email? (/showthread.php?tid=89712)



why would a photo cause gibberish in email? - mrbigstuff - 12-17-2009

I've tried a few different applications to save a JPEG image taken with a Fujifilm camera. All opened fine on my end (on a WinXP machine at the moment). I'm attaching this JPEG to an email in GMail.

The recipient is getting only code gibberish instead of an image. This is a rather large company, so I'll assume (perhaps incorrectly) that they receive photos all the time. I've not tried any other formats at this point.







(and it's not genuine frontier gibberish, either, just to cut you off at the knees...)


Re: why would a photo cause gibberish in email? - Doc - 12-17-2009

You're using the web interface for Gmail?

Is the file named properly with .jpg at the end?

Has the recipient forwarded the message back to you so that you can check it out for yourself?

Have you tried resending the original message with one of your other email accounts as the recipient so you can see if it's really Gmail at fault?

When you look at the sent message in your sent mail box, does the image appear to be attached properly there?


Re: why would a photo cause gibberish in email? - mrbigstuff - 12-17-2009

You're using the web interface for Gmail?
Yes
Is the file named properly with .jpg at the end?
Yes
Has the recipient forwarded the message back to you so that you can check it out for yourself?
Yes
Have you tried resending the original message with one of your other email accounts as the recipient so you can see if it's really Gmail at fault?
No, will try
When you look at the sent message in your sent mail box, does the image appear to be attached properly there?
Yes

I will add that this is the first time I've had this happen in many a year.


Re: why would a photo cause gibberish in email? - Doc - 12-17-2009

When you look at the forwarded message, do you see gibberish or do you see an image-attachment?

There's a drop-down menu next to the "Reply" button in the Gmail window. If you select "show original" from that menu, you should see the message displayed with its headers and one of the headers should look similar to this:

Content-Disposition: attachment; filename=mrbigstuff.jpeg

Do you see a Content-Disposition line?

If you see the Content-Disposition line and it does not say "attachment" immediately after that, what does it say?


Re: why would a photo cause gibberish in email? - Seacrest - 12-17-2009

They might be mucking with the email at the corporate firewall level.
The recipient is probably seeing the encoded version of the image data.
(Email is actually unable to transport binary data, so all binary data is encoded/decoded to text/"jibberish" transparently to the user by almost all email clients.)


Re: why would a photo cause gibberish in email? - mrbigstuff - 12-17-2009

Hmm. No, I see:

Content-Type: multipart/mixed;

Content-Type: multipart/alternative;


Plus, I just now suspect (due to the syntax of the respondents) that this company's Customer Service may be in India....


Re: why would a photo cause gibberish in email? - Speedy - 12-17-2009

Zip it first.


Re: why would a photo cause gibberish in email? - Doc - 12-17-2009

Okay. It's not sending the image as an attachment per se. It's sending it as an inline graphic.

Disable Rich Formatting Mode. Click on the Plain Text icon in the tool bar.