You need to sign in to do that
Don't have an account?
Lanny Kness
Can users with Partner Community License send emails from Apex code?
I have users that are in communities and are assigned Partner Community licenses. In their profiles, in the General User Permissions, Send EMails is checked (along with Edit Tasks, Edit Events). THese users access tabs that are Visualforce and Apex controllers. WHen the user performs certain actions (clicks a button), an email is sent out to another user in the community.
I cannot get this to work. When the users are setup as normal internal users with Salesforce Platform licenses, the emails are sent.
So can a community user send out email via apex code? If so what have i missed?
Thanks.
I cannot get this to work. When the users are setup as normal internal users with Salesforce Platform licenses, the emails are sent.
So can a community user send out email via apex code? If so what have i missed?
Thanks.
Yes users with Partner Community License send emails from Apex code.
In you apex class make it Without Sharing so if your class name is MyClass then it shouldbe declared like
It should resolve your issue.
Let me know if you still face issue.
Thanks
Shashikant
All Answers
Yes users with Partner Community License send emails from Apex code.
In you apex class make it Without Sharing so if your class name is MyClass then it shouldbe declared like
It should resolve your issue.
Let me know if you still face issue.
Thanks
Shashikant
Thanks
Shashikant