+ 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!!!