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:
- Sent by Thunderbird
- Sent by Mail
- 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--