最近发现一直收不到CRM2013系统发送的邮件,登录系统查看时,发现工作流正常执行完毕,状态为succeed,但是在活动中查询Email发现最近的邮件状态都是sending。
Dynamics CRM 2013 用的 CRM Email Router 服务发送邮件
登录服务器,查看事件查看器,发现如下报错:
#61042 - An error occurred while processing the outgoing email message with subject "***(邮件主题)***" for ExchangeOnline:
https:***(CRM服务的地址)** for delivery through
https://***(outlook邮箱服务地址)**.
Microsoft.Crm.Tools.Email.Providers.EmailException:
The access credentials that you have specified have insufficient delegate permissions to send the email message. Contact your Microsoft Exchange administrator to grant the required permissions.
The access credentials that you have specified have insufficient delegate permissions to send the email message. Contact your Microsoft Exchange administrator to grant the required permissions.
在网上找一下关于该报错的,问题解析参考
长话短说,就是发送邮件的邮箱权限不够
- 打开Email Router Configuration Manager
确认没有问题,ok — publish
进去CRM系统查看,发邮件的用户邮箱和配置的邮箱地址居然不一样,更改之后,重启一下邮件服务,邮件顺利发出~