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
Juan Carlos 4Juan Carlos 4 

How to monitor email sent using API in PHP?

Hi there,
How can I monitor email sent from Salesforce using REST API in PHP?
I can't find any reference...
Regards,

 
Rahul_kumar123Rahul_kumar123
Hi Juan,

Email Logs: Monitor Emails Sent Through Salesforce
With email logs, you can easily monitor emails sent through Salesforce in the last 30 days. Logs contain information on each email, including the sender and recipient, date and time, delivery status, and any associated error codes. Email logs are in CSV format.

To Monitor Emails Sent Through Salesforce.Please check the help document provided by salesforce.
I hope it will be helpful.

BestRegards
RahulKumar
JLA.ovhJLA.ovh
You can do this with the REST API in PHP as expected, using the LIMITS service https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_limits.htm
Juan Carlos 4Juan Carlos 4
Hi Rahul. It is possible to do this using REST API?
Juan Carlos 4Juan Carlos 4
Hi AdminBooster. This only gives limits per service. What I need is to know when an email was sent, and be able to get email details.