You need to sign in to do that
Don't have an account?
Kunal Purohit 4
How to create Email logs into custom Object?
Hello Guys,
I am having Send Email Button in Case Object. Now whenever Email is being sent, its ToAddress, BCC,CC and TemplateName should be copied into custom Object Email_History__c, having similar fields. How to perform this task? Please sugggest.
I am having Send Email Button in Case Object. Now whenever Email is being sent, its ToAddress, BCC,CC and TemplateName should be copied into custom Object Email_History__c, having similar fields. How to perform this task? Please sugggest.
To perform this task, you can use Apex triggers in Salesforce to capture the necessary information and create a record in the custom object, Email_History__c. Here's an example of how you can achieve this: With this trigger in place, whenever a Case record is inserted or updated and the Send Email button is clicked (assuming you have a checkbox field to represent this), the trigger will create a record in the Email_History__c object with the relevant information.
If this helps , please mark this as Best Answer.
Thank you.