+ Start a Discussion
Anuja Patil 10Anuja Patil 10 

Send Email not triggered from apex code for a certain profile

I have an apex code that sends an email to Opportunity Team Members when Owner is Changed or Stage is updated. When i use the sys admin profile, the email is triggered at times.but for an custom profiles , the email doesnt trigger. In the logs, for the Email Results i can see isSuccess is set to true. But user (Oppty Team Mem) doesnt receive the email.I cant see the email in the email log files as well.Can someone suggest? Is this profile specific?
Shivam BhawsarShivam Bhawsar
Please check the access of classes, extensions used in apex code for email trigger to custom profiles.
Also check the sharing rule for team member, if any.
earl smithearl smith
Here you can check complete details about online surveys.  Check this https://succeedfoundation.org/mcdvoice/ is one of the best survey conducted by McDonald's. Get details about the surveys here.