User does not have “prvSendEmail” privilage CRM 2011
Hi,
In CRM 2011, while sending an email programatically you may come across “User doe not have SendAsUser Privilage” exception.
(Refer useful article on How to send an email https://rajeevpentyala.wordpress.com/2011/08/03/sending-an-email-using-crm-2011-plug-in/)
It would happen even all the security roles having this privilege (Refer below)
To fix the issue, solution is very simple
- Open the SQL management Studio and connect to “orgname_mscrm” DB
- Run below query
UPDATE UserSettings
SET IsSendAsAllowed = 1
WHERE IsSendAsAllowed = 0
Refer below helpful article on the same
http://www.digital-transition.com/archives/2011/crm-2011-user-does-not-have-send-as-privilege/
Hope it helps 🙂
Hi,
Can you please let me know how to get the picklist text vale in crm 2011 plugins?
Hi Suresh,
Please refer my article
https://rajeevpentyala.wordpress.com/2011/09/14/read-picklist-value-in-plugin-crm-2011/
Thanks,
This helped me a lot
SELECT IsSendAsAllowed, *
FROM UserSettings
WHERE IsSendAsAllowed = 0
Thanks
Dude, as always you are a savior !!!