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
Nagaraju G 28Nagaraju G 28 

Unknown Exception: an email can't have more than one sender:[from Address]

I am trying to send email from custom button through apex class, I am getting below error.
"Unknown Exception: an email can't have more than one sender:[from Address] "

any one can help me on this error.
Syed Insha Jawaid 2Syed Insha Jawaid 2
Hi Nagaraju

From address in EmailMessage should contain a single email address.
Reference : https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_emailmessage.htm

Cheers!!!