locked
Workflow not sending e-mails RRS feed

  • Question

  • I have taken a marketing list with 100 members and created opertunities for these contacts. I have a workflow that when an opportunity is created it will  look for condition of "Topic" and then send an e-mail. After doing this the workflow show success the e-mail has been created but not sent the message says "This message has not been submitted for delivery"

    I'm the administrator and nomatter who the sender is it will not go.

    We use CRM Online and we use the CRM mail router on an Exchange server.

    Any help would be great!

    Friday, December 3, 2010 6:27 PM

Answers

  • I have it as "Send Email"


    Ok, try creating a new workflow as the same user who published that workflow. Make this workflow only fire "on demand". Make it have one step that sends an email to a contact with the same "From" as your problem workflow. Does this go out?

    Are there any exceptions logged in the event viewer on the CRM server or Email Router computer?


    Phil Edry – Altriva Solutions – http://www.altriva.com/AltrivaBlog.aspx
    • Marked as answer by j_ttc Tuesday, December 7, 2010 4:58 PM
    Friday, December 3, 2010 7:21 PM
  • Nice -- glad you figured it out!
    Phil Edry – Altriva Solutions – http://www.altriva.com/AltrivaBlog.aspx
    • Marked as answer by j_ttc Tuesday, December 7, 2010 4:57 PM
    Friday, December 3, 2010 8:25 PM

All replies

  • Hi there -- some things to check: Who is the owner/publisher of the workflow? The emails will be sent with this user's settings, even if the "from" line on the email is someone else. Open the owner/publisher's user record in CRM. How are they configured for outbound email? I see in your post that you use the CRM mail router, so you'll want to make sure the user who owns/publishes the workflow both has an email address in their User record and is configured to use the CRM mail router for outbound email. If the user is configured to use the Outlook Client, is that person's Outlook Client up and running? Can that user create an email in CRM and have it send from CRM?


    Phil Edry – Altriva Solutions – http://www.altriva.com/AltrivaBlog.aspx
    Friday, December 3, 2010 6:48 PM
  • One more thing. If the user who owns/published the workflow is different from the user who is set as the "From" on the email, does that user have rights to send email as other users?
    Phil Edry – Altriva Solutions – http://www.altriva.com/AltrivaBlog.aspx
    Friday, December 3, 2010 6:50 PM
  • Do you have set the status of your mails to sent or sending?

    Crm isn't sending it's mails automatic. Just changing the status should do the job.

    Friday, December 3, 2010 6:51 PM
  • Yes he is set to use E-mail Router. Yes he has other work flows that send e-mails.
    Friday, December 3, 2010 6:51 PM
  • In the workflow step, are you using the step called "Create Record" with "email" as the record type, or the "Send Email" step?
    Phil Edry – Altriva Solutions – http://www.altriva.com/AltrivaBlog.aspx
    • Edited by Phil Edry Friday, December 3, 2010 7:00 PM Clarifying
    Friday, December 3, 2010 6:56 PM
  • Do you have set the status of your mails to sent or sending?

    Crm isn't sending it's mails automatic. Just changing the status should do the job.


    I don't think I agree Steven -- you shouldn't create an email and set the status, you should use the "Send Email" step instead of the "Create Email" step, no status change required. Am I misunderstanding your suggestion?
    Phil Edry – Altriva Solutions – http://www.altriva.com/AltrivaBlog.aspx
    Friday, December 3, 2010 6:58 PM
  • I checked if the user has rights and he does.

    Friday, December 3, 2010 7:12 PM
  • I'm not too sure where to set the status of the mail. I looked in the workflow.

     

    Can you tell me where I should look ..thanks

    Friday, December 3, 2010 7:15 PM
  • I have it as "Send Email"
    Friday, December 3, 2010 7:15 PM
  • I have it as "Send Email"


    Ok, try creating a new workflow as the same user who published that workflow. Make this workflow only fire "on demand". Make it have one step that sends an email to a contact with the same "From" as your problem workflow. Does this go out?

    Are there any exceptions logged in the event viewer on the CRM server or Email Router computer?


    Phil Edry – Altriva Solutions – http://www.altriva.com/AltrivaBlog.aspx
    • Marked as answer by j_ttc Tuesday, December 7, 2010 4:58 PM
    Friday, December 3, 2010 7:21 PM
  • I have it as "Send Email"


    Ok, try creating a new workflow as the same user who published that workflow. Make this workflow only fire "on demand". Make it have one step that sends an email to a contact with the same "From" as your problem workflow. Does this go out?

    Are there any exceptions logged in the event viewer on the CRM server or Email Router computer?


    Phil Edry – Altriva Solutions – http://www.altriva.com/AltrivaBlog.aspx

    I did a quick one and in the workflow says success,  the e-mail has been created but not sent the message says "This message has not been submitted for delivery" no exception on the e-mail router
    Friday, December 3, 2010 7:32 PM
  • Ok, this is helpful. What happens when you manually create an email and hit send in CRM as that user, without a workflow?
    Phil Edry – Altriva Solutions – http://www.altriva.com/AltrivaBlog.aspx
    Friday, December 3, 2010 7:34 PM
  • Ok, this is helpful. What happens when you manually create an email and hit send in CRM as that user, without a workflow?
    Phil Edry – Altriva Solutions – http://www.altriva.com/AltrivaBlog.aspx

    I sent an email and nothing from myself and another user ......I think I might have anCRM email router issue ? What do you think?
    Friday, December 3, 2010 7:46 PM
  • Yes, that sounds likely. I would suggest doing an advaned find on email that are pending send. Look at when these emails were created to get a feeling of when/if the email router stopped working. Also, if you fix the email router, know that this backlog of emails may all send unless CRM has given up trying to send them. This could be a problem if there's a long backlog and all sorts of old emails go out.

    To fix the router, I'd suggest going into your email router config and testing the connection. Does it show up green all around or is there an error?


    Phil Edry – Altriva Solutions – http://www.altriva.com/AltrivaBlog.aspx
    Friday, December 3, 2010 7:52 PM
  • If this issue takes a while to solve, you may want to consider a workaround until it's fixed. You could bulk-edit your users to have them use Outlook for outgoing email. Then each user might need to check the setting in their crm options called "Allow Micorsoft Dynamics CRM to send e-mail using CRM for Outlook" if it is unchecked.


    Phil Edry – Altriva Solutions – http://www.altriva.com/AltrivaBlog.aspx
    Friday, December 3, 2010 7:55 PM
  • Yes it was the " Microsoft.Crm.Tools.EmailAgent.SystemState.xml" file...I thank you I don't know why I couldn't figure that out myself . Guess I needed my hand held .

    http://support.microsoft.com/kb/954522 just incase others need it.

    thanks agian.

    Friday, December 3, 2010 8:07 PM
  • Nice -- glad you figured it out!
    Phil Edry – Altriva Solutions – http://www.altriva.com/AltrivaBlog.aspx
    • Marked as answer by j_ttc Tuesday, December 7, 2010 4:57 PM
    Friday, December 3, 2010 8:25 PM