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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Email sent successfully but status remains Draft in Dynamics 365

(1) ShareShare
ReportReport
Posted on by 2

Hi everyone,

I’m using SendEmailRequest in C# with IssueSend = true to send emails in Dynamics 365. The email is actually being sent — the messageid is populated and deliveryattempts increments, so Server-Side Sync is processing it correctly.

The problem is that the email’s status still shows Draft and does not change to Sent or Completed. I’m not sure why this is happening. Could it be related to a plugin, workflow, or some other process that updates emails after sending?

Has anyone experienced a similar issue or can provide guidance on how to make sure the email status updates correctly after sending?

Thanks in advance for any help!

I have the same question (0)
  • Suggested answer
    ManoVerse Profile Picture
    1,152 Super User 2026 Season 1 on at
    generally when you call SendEmailRequest with IssueSend = true, CRM will move the Email from Draft → Pending Send → Sent/Completed automatically. If it stays Draft, something is blocking or reverting the state change.
    you may have to check below :
    1) Make sure you are not calling update on email in your plugin before and after , run an immediate Update that sets statuscode back to Draft by mistake can be the issue. You shouldn’t set statecode/statuscode yourself when using SendEmailRequest.
    2) Ensure you’re passing the existing email’s ActivityId (not a new/unsaved email)
    // 1) Create the Email (Draft)
    var emailId = service.Create(new Email
    {
        Subject = "...",
        Description = "...",
        DirectionCode = true,     
        To = toPartyList,
        From = fromPartyList
    });
     
    // 2) Issue the send (lets CRM move it to Pending Send → Sent/Completed)
    service.Execute(new SendEmailRequest
    {
        EmailId = emailId,
        IssueSend = true,
        TrackingToken = string.Empty
    });
    3) Disable/inspect custom logic on Email
    4) Security/Roles: The calling user needs rights to Send Email and change Email state.
     
    Let me know if this helps to narrow down the problem
  • NeerajPawar Profile Picture
    165 on at
    Great suggestion @ManoVerse. Further to that, below points can be checked as well.
     
    Probable Causes for this to happen:
    1. There could be an post‑create/update action in your plugin or a flow could be running post update which often resets/blocks the status change.
    2. Email recipients and from address could be the reason.
      1. From must be a single user/queue with an Approved and Enabled mailbox.
      2. To must contain at least one valid party.
     Steps to isolate:
    1. Review the audit history on Email message
      1. See if status reason ever changed to Pending Send / Sent and then reverted again to Draft.
      2. If yes, with the modifying user look for any plugins/flows running under that user context.
    2. Plug-in Trace Logs cane be reviewed (Plug-in trace level settings may need to be changed temporarily)
    3. Review flows and classic workflows with triggers on email.
    4. Review business rules or Scripts on the email entity. (to be sure)
    5. Review Mailbox alerts for any errors or warnings

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 > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 98 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 72

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans