Impossible to send plain text mail with image attachment

Originator:tobias.bussmann
Number:rdar://45727910 Date Originated:2018-11-01
Status: Resolved:
Product:macOS + SDK / Mail Product Version:10.13
Classification:Bug Reproducible:always
 
Area:
Mail

Summary:
A message composed as plain text that contains an image (eg. JPEG) attachment will be sent as formatted text. This is not the case with attachments of other types like PDF.

Steps to Reproduce:
- Compose a message
- In the Format menu make sure the message is in plain text
- Add a image attachment
- Note that the message is still displayed as plain text, formatting disabled
- Send the message
- A recipient using Apple Mail will see the message as formatted text with inline attachment
- A recipient using a different mail client that is preferring plain text will see the message in plain text without attachment

Expected Results:
The following MIME structure is expected (this is how it works for non-images btw):
multipart/mixed with 
- text/plain
- application/pdf ('inline' but that's another issue)

Actual Results:
multipart/alternative with 
- text/plain
- multipart/related with
-- text/html
-- image/jpeg (again 'inline')

Version/Build:
Version 11.5 (3445.9.1) (was already the case on 10.12 at least)

Configuration:
macOS 10.13.6 (17G2307) with Swiss-German locale

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!