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
Pedro Garcia 26Pedro Garcia 26 

Subscribe report by user

Hi...

The daily cases reported by the user are created every day. We want that the user receives this report by email with only his data. It means that the user can not receive any information about the cases created by another user.

How is possible to do this?

Thanks,
Pedro
VinayVinay (Salesforce Developers) 
Hi Pedro,

Classic and Lightning report refresh subscriptions work a little bit differently, but neither is capable of sending a message to an arbitrary email address outside Salesforce. You can email users and groups who have Salesforce accounts for delivery to email addresses that are set on their Salesforce profiles.

https://help.salesforce.com/s/articleView?id=sf.reports_schedule.htm&type=5
https://help.salesforce.com/s/articleView?id=sf.reports_subscribe_lex.htm&type=5

Appexchange:
https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000EJdlFUAT
https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMkcdUAD

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Pedro Garcia 26Pedro Garcia 26
Hi Vinay,

It doesn't help me. 

I want to attach and send the message using APEX. Finally, I could attach and send the report but the attached file is an HTML instead of csv