function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DlightDlight 

Email Service not accepting attachments with Content-Type specified in single quotes not working

Salesforce's Email Services are not processing attachments that have content-type specified in quotes. Example:

Content-Type: 'application/pdf'   <----- this doesn't work and email is sent to InboundEmailHandler without the attachment
Content-Type: application/pdf    <----- this works fine.

ALL other email servers (GMail, Yahoo, Microsoft) seems to work with both formats. Is that be a bug in Salesforce's email handling?
 
Emil Mr No regression DoverlindEmil Mr No regression Doverlind
I suspect I have the same issue.
DlightDlight
In my case, we had to ask for the software to put content type in single quotes to fix the issue. It would have taken much longer for Salesforce to fix and release.