Large email attachment fails if email body contains HTML hyperlink

Originator:jim
Number:rdar://24548655 Date Originated:2016-02-08
Status:High Resolved:
Product:iOS Product Version:9.2.1 (13D15)
Classification: Reproducible:Always
 
Summary:
Our app is emailing audio attachments, however if the attachment is large and the email body has an HTML link, the attachment fails. Simply removing the link from the body of the email allows the attachment to be successfully delivered.

Steps to Reproduce:
Open the EmailAttachmentProblem app that has been supplied. (Attachment supplied to Apple)

1. There are different audio files in the list, along with their size.
2. Select any of the first 5 files that are under 1MB in size.
3. Set the recipient in the email TO and send. This will work. 

Note, there is a link "Apple" that points to the apple website.

4. Select any of the last 2 files, that are 5.4MB in size.
5. Set the recipient TO and send the email. This will fail

Note: The recipient will receive an email with no content in the body of the email, and no attachment.

6. Select the same large file as in step 4.
7. Set the recipient TO in the email, but also DELETE the "Apple" link from the body of the email.
8. Send the email - this time the attachment will work fine.

Expected Results:
We should be able to send large attachments even if there is an HTML link in the body of the mail.

Actual Results:
The email fails to send correctly. The email body is empty and the attachment is missing or zero size, if it was a large attachment and the body had an HTML link.

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!