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
sfadm sfadmsfadm sfadm 

How do I send report results to non Salesforce users by email?

I am trying to automate a report by scheduling the report to run at a date/time and emailing the results to mail group.

How do I send report results to mail group?

Apparently via the standard Salesfore functionality that is not possible that is why I need to know is there any other way and workaround to be able to send a scheduled report to mail group?

How about running the report in Apex and generating and sending emails in code.

Please advise and share an appropriate example.
Raj VakatiRaj Vakati
Refer this link 



https://reportbuilder.cloud4j.com/login
https://success.salesforce.com/ideaView?id=08730000000Brkd


https://success.salesforce.com/answers?id=90630000000gu6PAAQ

try this also 



You can run a report synchronously or asynchronously through the Salesforce Reports and Dashboards API via Apex.

 
// Get the report ID
List <Report> reportList = [SELECT Id,DeveloperName FROM Report where 
    DeveloperName = 'Closed_Sales_This_Quarter'];
String reportId = (String)reportList.get(0).get('Id');

// Run the report
Reports.ReportResults results = Reports.ReportManager.runReport(reportId, true);
System.debug('Synchronous results: ' + results);

// Send Email with result als0

 
Sergii Grushai 25Sergii Grushai 25
there are free apps on appexchange for this purpose: https://appexchange.salesforce.com/appxSearchKeywordResults?keywords=report%20sender&searchType=simpleSearch