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
bheemudu neelibheemudu neeli 

I want to convert plaintext body of email message's to attachment as html file

Much appriciated if any help.
I want to convert plaintext body of email message's to attachment as html file, so that the stoge limit will reduce in inside SF.
AbhishekAbhishek (Salesforce Developers) 
Here is an article explaining why attachments are coming in as HTML files:

https://help.salesforce.com/apex/HTViewSolution?id=97657&language=en


For further reference, you can check this,

https://help.salesforce.com/articleView?id=000326717&type=1&mode=1


Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks.