7 answers
Make sure that you have enabled user profile in the org-wide email address to use it as From email address.
- Go to > Setup > Email Administration > Org-wide default
- Click edit to the Org-wide email address, if you selected "Allow Only Selected Profiles to Use the From Address" then make sure that the user profile is included in the list
I just ran into this today, and adding the users profile to the allowed profile fixed it. What I don't understand is, if it's trying to send the email from Apex, why does the user need permission? I thought apex code was run as system profile? @Jim, yes I agree, it should allow anyone to use it via apex. Yet another unnecessary hoop we have to jump through. Hi Ravi,In my org it is already configured to All Email Navigate to Setup > Email Administration > Deliverability to update the Access Level to All Email. Hi Ravi / Karanraj,I have added Send Email permission and added profiles in org-wide default. But it is not working.