Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Emails sent from dynamics CRM are in Pending send state

Posted on by Microsoft Employee

Hello Experts ,
I have configured a mailbox and got it tested successfully for both incoming and outgoing mails with server side synchronization.
I am able to send an auto reply from the same mailbox but when i try to send a mail manually from user activity timeline , the mail goes in pending state and shows error "This message has not yet been submitted for delivery. For more information, see help.".
I am not able to find the root cause of the issue.
anyone who can suggest some solutions for the same.



  • lkoplin Profile Picture
    lkoplin on at
    RE: Emails sent from dynamics CRM are in Pending send state

    Hello,

    Thanks for the update and glad to hear you were able to find the resolution.  The reason users have a mailbox for '<username>' and other simply by 'username' is because the one with the <> enclosing the username is a queue user mailbox.  These are disabled by default.  

    It may be necessary in some scenarios where you would configure a Dynamics 365 user as a queue but for most customers, the user mailbox record that is just the 'username' is the mailbox that will be used and is the mailbox record that is active by default.

    Thanks,

    Lance Koplin

    Microsoft Dynamics 365

    Support Engineer

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Emails sent from dynamics CRM are in Pending send state

    Hello Lance,

    I got the issue resolved.

    The issue was related to different mailboxes with same email.

    I found that the sandbox instance has two different mailboxes for same user by default.

    one is '<username>' and other simply by 'username'.

    Why there are two different mailboxes for single user by default?

  • lkoplin Profile Picture
    lkoplin on at
    RE: Emails sent from dynamics CRM are in Pending send state

    Hello,

    Thank you for providing the requested information.  From everything you have described, the mailbox is configured and working successfully.

    When you are performing your email test by creating a new email activity, who are you logged into Dynamics 365 as?  Are you logged into the system as a different account and then setting the From field as the mailbox that is successfully Test & Enabled?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Emails sent from dynamics CRM are in Pending send state

    Hi Lance,

    • The server profile is 'Microsoft Exchange online'.
    • Mailbox is in online Exchange.
    • Yes I received the email saying 'mailbox has been configured to a Dynamics 365 organization'
    • Last alerts are related to successfully registering the mailbox for outgoing and incoming emails.
    • Most Probably Exchange is Online Exchange only.
  • Verified answer
    lkoplin Profile Picture
    lkoplin on at
    RE: Emails sent from dynamics CRM are in Pending send state

    Hello,

    What this is telling us is that the user's mailbox who we are attempting to send the email from is not being processed by Server-Side Sync for outgoing emails which is why it is not being picked up by Exchange.

    So if we are sending auto reply email from a generic mailbox successfully, we need to start digging into the differences between the mailboxes.

    • For the mailbox experiencing the issue, are we using Exchange or SMTP/POP3 as the mail provider?
    • If we are using Exchange as the mail provider, is the mailbox located in an on-premise or online Exchange Deployment and is this the same location as the Generic Email?
    • When you perform a Test & Enable on the mailbox experiencing this behavior and the Status Shows as "Successful" for the Outgoing Delivery Method, you should also receive an email in Outlook/Exchange.  Do you receive this email stating that your mailbox has been configured to a Dynamics 365 organization?
    • Do you see any Alerts on the mailbox record itself?  There are times you will see alerts in the mailbox even though the status shows as Successful under the Configuration/General tab.
    • What type of Email Server Profile do you have configured?  If you are using Exchange, are you using the Exchange Online or Exchange Hybrid Email Server Profile in Dynamics?
      • A follow up to that question is whether you are using a service account with the Application Impersonation Exchange Permission to send on behalf of other mailboxes.

    Thanks,

    Lance Koplin
    Microsoft Dynamics 365
    Support Engineer

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Emails sent from dynamics CRM are in Pending send state

    Hi Lance

    Thank you for your response.

    There are no processes for email entity.

    In Advance Find The 'no. of Delivery attempts' is 0 for all the pending send status mail messages.

    I enabled auditing too for Email. Is just shows status as pending send and activity status as completed.

    The auto reply is from generic mailbox but it is approved and tested successfully.

    The Recipients email activity shows email as closed but the recipient does not find any email in its mail folder.

    What can be the reasons behind 'no of Delivery attempts' to be 0?

  • lkoplin Profile Picture
    lkoplin on at
    RE: Emails sent from dynamics CRM are in Pending send state

    Hello,

    There are a couple of things you can look at if the emails are stuck in pending send.

    The first is to check on whether there are any Workflows/Plugins that are triggered on the Pending Send action.  This almost seems like the status of the email is being reset when the email is attempting to send.

    You can check to see if there were any delivery attempts on the email by using an Advanced Find on "Messages" and adding the column "no. of Delivery Attempts".  If the Status Reason is "Pending Send" and the Number of Delivery Attempts is 0, it means that the issue is within Dynamics 365 as we are not attempting to hand this email over to Exchange.

    Do you have auditing enabled, this may help shed some light on any interaction that happens in Asynchronously after we click Send.

    When you use the Auto Reply to send an email, are you sending this under the context of the user mailbox or is there a generic Auto Reply Mailbox that is used?

    Do the recipients resolve to a record in Dynamics 365 or do they show as unresolved on the email activity in Dynamics 365?

    Thanks,

    Lance Koplin
    Microsoft Dynamics 365
    Support Engineer

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Emails sent from dynamics CRM are in Pending send state

    Hi Clofy

    Thank you for the response.

    I tried all the steps from the link you provided but not able to resolve the problem.

    I have already got my mailbox approved but then also not able to send outgoing mails from CRM.

  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Emails sent from dynamics CRM are in Pending send state

    Hi Partner,

    Try to troubleshoot by following tips in the article below:

    https://heidster12.wordpress.com/tag/this-message-has-not-yet-been-submitted-for-delivery/

    Regards,

    Clofly

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans