You need to sign in to do that
Don't have an account?
Does creating an EmailMessage Record using on case using "APEX code" , also sends email
In standard salesforce layout, if you click on send email and save, it creates a EmailMessage record in the DB and also sends the email.
If we create EmailMessage record using apex code, will the email will be sent to email mentioned in toAddress field?
If we create EmailMessage record using apex code, will the email will be sent to email mentioned in toAddress field?
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_emailmessage.htm