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
salesforcequestions123salesforcequestions123 

Email class not recognizing pdf attachments

Hi I have written a email class and when i send a email with a pdf file .I have put a debug log to email and found that binary attachments and text attachments are both null.I dint understand because there is pdf file coming from the email

 

Can some one suggest me why this is happening.

salesforcequestions123salesforcequestions123
Hi
The code you have sent me is to send emails but in my case I am recieving emails which has a pdf attachment but still my inbound email object shows binary attachments null
Avidev9Avidev9

Have you opted for attachments in the Email services ?

 

Please go to Develop > Email Service >> Your Service Name

 https://www.diigo.com/item/p/prbeobrzbpsqdsreczbaqeober/e88120be9c2403b5b40d3473bbf903f0