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
Rakesh KumarRakesh Kumar 

find apex email send status

Hi All,

I would like to create bulk email functionality which will send email to given in contacts. After completion of email send i want to retrieve all email sent status and address that system has sent already in excel or csv file.

Can you share me your idea about email send and download the status of sent email in Excel or CSV file ?

Thanks
Rakesh
ShashForceShashForce
Hi Rakesh,

You can use "email log files" which is available in Salesforce for email logging. However, this includes all emails, and not just the ones sent by your code. Please see this: https://help.salesforce.com/htviewhelpdoc?err=1&id=email_logs.htm&siteLang=en_US

If this answers your question, please mark this as the Best Answer for this post, so that others can benefit from this post.

Thanks,
Shashank
Rakesh KumarRakesh Kumar
 Hi Shashank,

Thank you very much for you idea.

I checked the email log file but i cant able to find which mail send is failed or successful.

If you have any way to find email status let me share your idea.

Thanks,
Rakesh