Problems with sending email attachments to Windows computers.

When I attach a JPG file to an email my recipient using a PC can see the image in the message window, but cannot download/ save to disk. This is no good for me as I'm a photographer who needs to send photos to clients on a regular basis.

Posted on Jul 3, 2012 10:21 AM

Reply
55 replies

Jul 4, 2012 8:55 AM in response to John Kemp

As I said before, the problem seems to be with Windows OS not recognising the attachment as a separate file.


This is not a Windows issue but a mail client and/or user issue. For example in Thunderbird there is an option at View/'Display Attachments Inline'. John, nevertheless, needs a solution which works easily for most people he sends files to.


Unless I have misunderstood his easiest option is to always send mails as text and not HTML.

Jul 4, 2012 11:30 AM in response to Neville Hillyer

One of my colleagues suggested another solution - not using Mail, but sending via webmail.

I will try this and let you know if there's any difference.


Another solution could be DropBox or similar, but again this requires a certain amount of computer skill in order to navigate and download files. My clients are not computer experts but people who want their photos in their inbox!

Jul 4, 2012 2:49 PM in response to Neville Hillyer

Sorry about this John - it appears I was wrong. My tests indicate that Apple Mail puts the following 'header' before every 'attached' image. Content-Disposition: inline


Thunderbird uses. Content-Disposition: attachment


Both comply with http://www.ietf.org/rfc/rfc2183.txt but perhaps Mail should not claim these are attachments.


At the receiving end Thunderbird can override either one as the user wishes but it would be understandable if some mail clients do not have this flexibility.


Whilst I can add a permanent user 'Content-Disposition: attachment' header to Mail with a Terminal command it fails to stop Mail using 'Content-Disposition: inline' before each image.


Unless a fix for Mail can be found my advice is not to use it for your critical emails.


Here are some technical details:


Terminal command to view user headers if they exist:

defaults read com.apple.mail UserHeaders


Terminal command to add a user header:

defaults write com.apple.mail UserHeaders '{"Content-Disposition" = "attachment"; }'


Terminal command to remove all user headers:

defaults delete com.apple.mail UserHeaders


These headers are stored in:

~/Library/Preferences/com.apple.mail.plist


My three slightly modified test emails are below. I have replaced much of the six images with 'etc etc'. The three tests are:


  1. Sent by Thunderbird
  2. Sent by Mail
  3. Sent by Mail with Content-Disposition: attachment' user header


MIME-Version: 1.0

Content-Type: multipart/mixed;

boundary="------------020708050309070703090401"

This is a multi-part message in MIME format.

--------------020708050309070703090401

Content-Type: text/plain; charset=UTF-8; format=flowed

Content-Transfer-Encoding: 7bit

Here are 2 flowers

--------------020708050309070703090401

Content-Type: image/jpeg;

name="images-1.jpeg"

Content-Transfer-Encoding: base64

Content-Disposition: attachment;

filename="images-1.jpeg"

/9j/4AAQSkZJRgABAQAAAQABAAD/ etc etc /9k=

--------------020708050309070703090401

Content-Type: image/jpeg;

name="images.jpeg"

Content-Transfer-Encoding: base64

Content-Disposition: attachment;

filename="images.jpeg"

/9j/4AAQSkZJRgABAQAAAQABAAD/ etc etc //2Q==

--------------020708050309070703090401--


Mime-Version: 1.0 (Apple Message framework v936)

X-Mailer: Apple Mail (2.936)

--Apple-Mail-5-200699550

Content-Type: text/plain;

charset=US-ASCII;

format=flowed

Content-Transfer-Encoding: 7bit

Here are 2 flowers

--Apple-Mail-5-200699550

Content-Disposition: inline;

filename=images-1.jpeg

Content-Type: image/jpeg;

x-unix-mode=0644;

name="images-1.jpeg"

Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAQAAAQABAAD/ etc etc /9k=

--Apple-Mail-5-200699550

Content-Disposition: inline;

filename=images.jpeg

Content-Type: image/jpeg;

x-unix-mode=0644;

name="images.jpeg"

Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAQAAAQABAAD/ etc etc //2Q==

--Apple-Mail-5-200699550--


Content-Type: multipart/mixed; boundary=Apple-Mail-7-204238499

Content-Disposition: attachment

Mime-Version: 1.0 (Apple Message framework v936)

X-Mailer: Apple Mail (2.936)

--Apple-Mail-7-204238499

Content-Type: text/plain;

charset=US-ASCII;

format=flowed

Content-Transfer-Encoding: 7bit

flowers

--Apple-Mail-7-204238499

Content-Disposition: inline;

filename=images-1.jpeg

Content-Type: image/jpeg;

x-unix-mode=0644;

name="images-1.jpeg"

Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAQAAAQABAAD/ etc etc /9k=

--Apple-Mail-7-204238499

Content-Disposition: inline;

filename=images.jpeg

Content-Type: image/jpeg;

x-unix-mode=0644;

name="images.jpeg"

Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAQAAAQABAAD/ etc etc //2Q==

--Apple-Mail-7-204238499--

Apr 10, 2013 4:47 PM in response to Neville Hillyer

Many thanks indeed for your detective work as to what is causing this problem.

It seems that Apple expects that all other mail clients out there will automatically comply with what is probably in the standards somewhere and gives no option to make things easier for people on other systems with perhaps older software.

At least Thunderbird seems to work, in that Thunderbird on my Mac machine can attach a picture that will be correctly opened by Outlook Express but it is no more able than Outlook Express to open a picture attached to an Apple Mail message.


Enclosing images in a folder and attaching that, compressing the picture, and ending the message with an empty folder all work. Probably the last method is the least bothersome to use, though I have yet to test "Attachment Tamer" and "Zip Files for PC" for ease of use.


Also, in my case, rich or plain text seems irrelevant.


Lastly I join my voice to those who are screaming for a solution from Apple - this business is driving my wife nuts, as she is constantly exchanging pictures with PC users, and all she wants is easy-to-use efficacity which we all thought Apple stood for.

Apr 10, 2013 7:47 PM in response to hexdiy

Thanks, but as the pictures are already files in the machine, and a screen shot just produces another picture, I don't think this would help. Also, it is quite esy to transform a jpg into a png, as far as I remember with Preview.


No the problem here is one of how Mail treats attached images.


I have just tried and tested "Attachment Tamer" and installed it on my wife's machine as well - it is marvellous, it solves the problems, has extra facilities as well such as deciding how the icons' names will be displayed etc.,, the size of picture attachments is still selectable, and best of all it works completely transparently without one having to think of compressing files, adding empty folders etc. - it just works, which is what Apple used to be about.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Problems with sending email attachments to Windows computers.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.