Hi,
Getting User does not have send-as privilege error while sending email through code. Even after enabling mail box for the user and "Send Email as Another user" role assinged.
Hi Krish,
In order to send email from a different user, 2 permissions/ settings are required.
The user mentioned in the from address should have the setting checked under personal options “Allow other Microsoft Dynamics CRM users to send e-mail on your behalf” which appears under Options >> Email tab.
Also, the user triggering/sending that email should also have "Send Email as Another User" security permissions.
Do not that if you are sending it through real time workflow, and the workflow is set to execute as owner of the workflow then you need to set the "Send Email as Another User" security permissions for the owner of that workflow as well.
worldofitguy.com/.../user-does-not-have-send-as-privilege-for-crm-2015
Hope this helps.
That user also have correct security role I hope.
Then wait for some time and try again.
The account which i am using to send email as "From address" in code.
You have changed user setting for which user?
yes,changed user setting as well
Have you changed user setting of other user as well?
I tried suggested option ,but still no luck.Only with admin account emails are working in code.If i use any other user account its either getting stuck in Pending status (or) User does not have send-as privilege error.
You have to go to user settings and check " Allow Microsoft user to send email on your behalf". you can take help from below URL:
www.iotap.com/.../email-configuration-settings-to-ensure-that-the-email-is-sent-from-crm
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156