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
Shravani M 9Shravani M 9 

Is Files stores in Salesforce

Hi Friends,

When visual force pdf is converting into HTML in email attachments. Is this HTML link will stores pdf file in salesforce.

Thanks in Advance
NagendraNagendra (Salesforce Developers) 
Hi Shravani,

The reason is to conserve bandwidth (and avoid compatibility issues), attachments, contents are sent as links. The HTML file links to a CMS hosted by salesforce; opening the attachment link will result in the file being downloaded. The CMS stores these attachments for 30 days, then discards the file.

Rest regarding best practices you can check  Please mark this as solved if the information is helpful.

Regards,
Nagendra.