web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Dynamics 365 has been configured to use server-side synchronization to process email. If you want to use the Email Router to process email, go to System Settings and change the Process Email Using field to Dynamics 365 Email Router. Custom Workflow Issue

(0) ShareShare
ReportReport
Posted on by 100

Hello,

I am trying to send an email from a custom workflow. All my attributes are correct and on debugging, it fails at send email. It gives the error SQL Error Timeout.  The error it gives in Event Viewer is "Dynamics 365 has been configured to use server-side synchronization to process email. If you want to use the Email Router to process email, go to System Settings and change the Process Email Using field to Dynamics 365 Email Router". I don't know where to go from here. Please look the screenshot below. Please help!

pastedimage1568745460908v2.png

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ajyendra Profile Picture
    1,738 on at

    Hi,

    Please refer this link:

    https://mahenderpal.wordpress.com/tag/send-email-using-ms-crm-workflow/

    Hope it helps

    Thanks

    Ajyendra

    If this answer is helpful. Please Mark as Verified.

  • RARO91 Profile Picture
    100 on at

    Hello Ajyendra,

    The email object being created is not really being created in this case. It retrieves a record from email entity. I want to create it from the code and use the GUID for other things.

  • ajyendra Profile Picture
    1,738 on at

    Hi,

    Did you get emailId from service.create(email); or not ?

    Thanks

  • ajyendra Profile Picture
    1,738 on at

    Or can u provide the screenshot of addattachmenttoemailrecord function

  • ajyendra Profile Picture
    1,738 on at

    Or can u provide the screenshot of addattachmenttoemailrecord function

  • RARO91 Profile Picture
    100 on at

    I did not.  it errors out there.

  • Suggested answer
    ajyendra Profile Picture
    1,738 on at

    Hi,
    Can u please one more thing under Administration > Settings > System Settings, on the email Tab. The drop down for Process Email Using needs to be set to the email router . Please refer below image for setting.

    Server_2D00_side_2D00_setup_2D00_for_2D00_Email_2D00_Router_2D00_1.png

    Hope it helps

    Thanks

    Ajyendra

    If this answer is helpful.Please Mark As Verified.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans