When viewing the e-mail from the contacts history, the top of the e-mail
displays a message: This message has not yet been submitted for delivery CRM
4.0
Eventually the mail delivers and the message goes away. This occurs for any
CRM mail, manual, merges or workflow.
We have Exchange 2003 on a separate server with the CRM connector.
Anyone else experiencing this?
--
Gary Herbstman
Byte Solutions, Inc.
http://bytesolutions.com
--
Gary Herbstman
Byte Solutions, Inc.
http://bytesolutions.com
"gherbstman" <ga...@bytesolutions.com> wrote in message
news:%23$exFHqWI...@TK2MSFTNGP04.phx.gbl...
--
MR ICT Ltd - http://www.mrict.co.uk
"gherbstman" <ga...@bytesolutions.com> wrote in message
news:uVMTYJqW...@TK2MSFTNGP03.phx.gbl...
Thanks for posting in. This is Ken in Online Partner Support.
Please let me know your environment details.
1. Is there any error log in the event log on the Microsoft Dynamics CRM
E-mail Router computer?
2. Is there any error log in the event log on the Exchange Server computer?
3. Please check the performance counters on the computer if the resource is
enough to process those e-mails.
4. Please chech the performance counters on the Exchange server, too.
5. If you installed anti-virus protection software or some file scan
programs on the computer, please stop the program for a while and see if
the issue occurs again.
6 If you install the Microsoft Dynamics CRM E-mail Router in different
computer, the issue still remains?
Kind Regards,
Ken
Microsoft Online Partner Support
======================================================
PLEASE NOTE: The partner managed newsgroups are provided to assist with
break/fix issues and simple how to questions.
======================================================
We also love to hear your product feedback! Let us know what you think by
posting from the web interface: Partner Feedback from your newsreader:
microsoft.private.directaccess.partnerfeedback. We look forward to hearing
from you!
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
See answers below
--
Gary Herbstman
Byte Solutions, Inc.
http://bytesolutions.com
"Kenichiro Nakamura" <kena...@online.microsoft.com> wrote in message
news:Mg1%23ckAXI...@TK2MSFTNGHUB02.phx.gbl...
> Hi Gary
>
> Thanks for posting in. This is Ken in Online Partner Support.
>
> Please let me know your environment details.
>
> 1. Is there any error log in the event log on the Microsoft Dynamics CRM
> E-mail Router computer?
No, checked both sys and app.
> 2. Is there any error log in the event log on the Exchange Server
> computer?
Same computer. No, checked both sys and app.
> 3. Please check the performance counters on the computer if the resource
> is
> enough to process those e-mails.
Exchange server it mostly idling. Sending email through it from Outlook work
immediatly.
> 4. Please chech the performance counters on the Exchange server, too.
> 5. If you installed anti-virus protection software or some file scan
> programs on the computer, please stop the program for a while and see if
> the issue occurs again.
> 6 If you install the Microsoft Dynamics CRM E-mail Router in different
> computer, the issue still remains?
Will need some time to test these last two items. The exchange server is
running SIFMSE 6.0.3.201 Does not affect non-CRM email.
Thanks for the update.
Since there is no error log on the event log, it will require you to take
trace logs or to take network trace logs to research more details for this
issue.
Unfortunately, due to the complexity of this issue we are unable to
effectively assist with this request in the newsgroups.
I would like to suggest that you contact Microsoft Customer Service and
Support services via telephone so that a dedicated Support Professional can
assist with this request. Please be advised that contacting phone support
will be a charged call. However, if you are simply requesting a hotfix be
sent to you and no other support then charges are usually refunded or
waived.
To obtain the phone numbers for specific technology request please take a
look at the web site listed below.
http://support.microsoft.com/default.aspx?scid=fh;EN-US;PHONENUMBERS
If you are outside the US please see http://support.microsoft.com
for regional support phone numbers.
Thank you for your patience and understanding.
If you find any error message or suspicious logs about this issue, please
let us know and we will continue to research based on the error message.
Hi,
We also have the same issue, but our CRM 4.0 is configured without the
CRM Email Router component. In this scenario, I assume that the local
SMTP service would be used, but if I turn on the logging of this SMTP
service, no logfiles are written. So it seems that the SMTP Service is
never called.
Any suggestions on this issue?
Thanks
Stig De Feyter
Infront
Thanks for posting in. This is Ken in Online Partner Support.
Now, Microsoft Dynamics CRM Client for Outlook 4.0 client is able to send
e-mails directly from Outlook client. Please check the CRM user settings at
Setting - Administration - Users. If you set 'Microsoft Dynamics CRM for
Outlook' in the E-mail access type - Outgoing, then not CRM Server local
SMTP but Outlook itself sends the out-bound e-mails directly.
And Microsoft Dynamics CRM 4.0 does not use local SMTP anymore. You are
able to choose the Outlook or the E-mail router as an outgoing point.
Regards
I though that I would mention that I have the same problem. We are using
the router and forwarder for every user. We have email notifications set up
via WorkFlow and they are sometimes emailed immediately and other times it
can take hours then a whole bunch get emailed at once. It is weird, I'm not
sure what is causing the problem. I don't see any error logs, so I am not
sure what the culprit is. Please let me know if you have any ideas.
Thanks,
Chris
Thanks for posting in. This is Ken in Online Partner Support.
If you don't have any error logs for the Microsoft Dynamics CRM E-mail
Router, then you need trace logs to research.
For example, you are able to obtain network trace logs by network monitor
applications. By network trace log, you may find some communication trace
between the E-mail Router and Exchange Server. Please also check event logs
on the CRM Server.
In newsgroup, we are not able to research trace logs since newsgroups are
provided for break/fix issues. If you need detailed research service,
please contact Microsoft Customer Service and Support services via
telephone so that a dedicated Support Professional can assist with this
request. Please be advised that contacting phone support will be a charged
call. However, if you are simply requesting a hotfix be sent to you and no
other support then charges are usually refunded or waived.
To obtain the phone numbers for specific technology request please take a
look at the web site listed below.
http://support.microsoft.com/default.aspx?scid=fh;EN-US;PHONENUMBERS
If you are outside the US please see http://support.microsoft.com
for regional support phone numbers.
Thank you for your patience and understanding.
Regards
Checking in to see how this is going.
Is there is anything else we can do for you on this topic?
Have a great week!
Thanks for posting in.
Please check if you have any error or warning logs in your event log.
If you don't have any logs, then it will need to obtain trace logs for more
detailed research.
Kind Regards,
Checking in to see how this is going.
Is there is anything else we can do for you on this topic?
Regards
Was there a solution for this? I've been seeing this issue also. I went
through the thread and it didn't look like there was anything on what the
cause/solution was.
-James
Thanks for posting in.
Unfortunately, I couldn't find any solution for this issue yet since they
don't have any error or warning logs. Therefore I couldn't research more
than just symptom.
To research this issue more deeply, it will require trace logs. Please
contact Microsoft Customer Service and Support services to open case for
this issue if you still have it.
Thank you for your patience and understanding.
Kind Regards
I'm e-mailing you that I will close this post today. Thank you for using
the newsgroup.
Kind regards,
Following the procedure below will change the polling period from every
1,000 seconds to every 30 seconds.
1. Go to the server where the e-mail router is installed.
2. Go to C:\Program Files\Microsoft CRM Email\Service
3. Edit the file Microsoft.Crm.EmailAgent.xml with Notepad
4. Find the element SchedulingPeriod
5. Change the value (most likely currently 1000) to 30
6. Restart the Microsoft CRM Email Router service
Michael Cross
Navint
http://www.navint.com
If you do this, let me know when you are finished so I can test it.
It's just stupid that this tip does not appear to be documented anywhere in
the Microsoft CRM 4.0 documentation, unless I'm missing it. I think it should
be clearly visible in the Implementation Guide.
Anyway, I'm glad it helped you.
Michael Cross
Microsoft CRM Consultant
Navint
http://www.navint.com
If I want to check which SMTP server is used by the CRM, how can I do ?
Thanks
I'm experiencing this same issue. There is a fix in the Knowledge
Base, article ID 915827, which says that this issue occurs when SMTP
relay isn't set up properly between the CRM server and the Exchange
server. My issue, however, doesn't seem to stem from this problem,
because I went through the steps in the article and found that it was
set up properly already. The only variance was that when I got to the
"Relay Restrictions" page on the Exchange server, it was set up to
allow "everything but the list below" rather than "only the list
below." Since I don't know what the client has going on with other
servers, I couldn't change that setting. It still should allow relay
though, because the CRM server isn't in the list to be excluded.
I do have an error in the error log, which I will paste below -- the
key part seems to be
"Failure sending mail. ---> System.FormatException: Invalid length for
a Base-64 char array."
Any solution that anyone has found to this? Thanks!
Andy
Event Type: Error
Event Source: MSCRMEmail
Event Category: None
Event ID: 0
Date: 5/5/2008
Time: 12:56:04 PM
User: N/A
Computer: MTCRM01
Description:
#61042 - An error occurred while processing the outgoing e-mail
message with subject "Hi THere test CRM:0001005" for SMTP: http://mtcrm01/Magtek
for delivery through MTEXCHANGE01. System.Net.Mail.SmtpException:
Failure sending mail. ---> System.FormatException: Invalid length for
a Base-64 char array.
at System.Convert.FromBase64String(String s)
at
System.Net.Mail.SmtpNegotiateAuthenticationModule.GetSecurityLayerOutgoingBlob(String
challenge, NTAuthentication clientContext)
at
System.Net.Mail.SmtpNegotiateAuthenticationModule.Authenticate(String
challenge, NetworkCredential credential, Object sessionCookie)
at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32
port)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
--- End of inner exception stack trace ---
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at
Microsoft.Crm.Tools.Email.Providers.SmtpPollingSendEmailProvider.ProcessMessageInternal(email
emailMessage)
at
Microsoft.Crm.Tools.Email.Providers.CrmPollingSendEmailProvider.Run()
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
I hope you get a chance to reply to this. I've tried to apply the solution
but i have been unable to locate the Microsoft.Crm.EmailAgent.xml file.
Should it be located at the CRM server or the Exchange server?
Sincerely
Shuya
The way I see it, a workflow in CRM is has generated an email, placed it in
a queue, but has it marked as "not yet been submitted" therefore meaning it
has not been sent yet for whatever reason.
The suggestion was to change the polling interval, but that only changes how
frequently the Email Router will check user mailboxes (or the forwarding
mailbox) for new email. This is unrelated to why CRM is generating but not
sending email.
Unless the two are tied together, or if I'm not understanding things
correctly, the suggestion is a solution to another problem, and not the one
proposed.
As you all may already assumed, I found that the E-mail router has a bug
for its behavior. It works intermittently like it works 1 hour and then
stops next 1 hour. Then it resumes working 1 hour and then stops 1 hour
again...
Unfortunately enough, I couldn't have any resolution for this issue now.
The only workaround for this is changing the value of <ConfigUpdatePeriod>
in C:\Program Files\Microsoft CRM
Email\Service\Microsoft.Crm.Tools.EmailAgent.xml file, For example change
the value to 300000 (It means 5 minutes). However this merely means that
E-mail router works intermittently in every 5 minutes so not so good
workaround.
If I can find any resolution or better workaround on this issue, I will
update it.
Sorry for inconvenience and thank you for your patience.
Kind Regards,
Our current fix is that we have written a net stop/net start batch file to
start and stop the MSCRMEMAIL service. We schedule it to stop and start
every x minutes using Scheduled Activities on the server. So far, it seems
to keep things flowing.
Hard to believe that this product was released with this bug. Makes the
product pratically unusable.
/Aamir
CASE_ID_NUM: SRX080513601709
MESSAGE:
********************** The message for you follows ************************
Hi Nick,
I have found that this issue is a known issue and I have added you to the
fix. This will escalate the issue. I will keep you updated on the progress
of this issue on a weekly basis until a fix is created.
Thank you for your patience,
Mike Severson
Microsoft CRM Support
As Nick mentioned we are still investigating this issue and unfortunately
no hotfix for this yet.
I will update when I found the fix for this issue. Please try to do some
workaround for this meanwhile.
I am sorry again for this inconvenience.
As most of you, I too find this an absolute show-stopper, has there been any
development on this issue?
Regards
Gavin
Thanks for posting in. This is Ken in Online Partner Support.
Unfortunately, we don't have hotfix for this issue yet. Please wait for a
while and in a meantime, please try some workarounds which is provided in
this thread before.
http://danishmscrm.blogspot.com/2008/06/mscrm-40-router-s-bug.html
/Aamir
is there an update to this issue? none of the solutons mentioned here -
changing the polling interval, changing config update period or restarting
the service seem to work for me . I am using microsoft vpc image.
Cheers
Snow White
I am sorry but no hotfix for this issue yet. I will update when I have some
info. Thanks for your patience.
Please notify when hotfix is available for this issue. My company uses this
feature a lot for assigning customer work.
Thank you.
Thanks for posting in. This is Ken in Online Partner Support.
I believe the hotfix is coming soon. I will update when I have information
on this at this thread.
I noticed that the hotfix was developed for this issue. You will see the KB
in a couple of business days here: http://support.microsoft.com/kb/952019
Please contact to normal support to obtain the fix and if you are simply
requesting a hotfix be sent to you and no other support then charges are
usually refunded or waived.
Sorry for keeping waiting you all so long for this issue. I hope the hotfix
resolves the issue.
Please let me know the result.
Thanks for helping us out here . Finally the message has been
delivered to/from the Microsoft Dev center :P
/Aamir
Thanks for the update.
I'm glad to hear that the hotfix fixes the issue. I will keep this thread
open for a while to hear the result from others as well.
I am emailing to tell you that I will be closing this post today. Thank you
for using Microsoft Newsgroups!
I did not find the kb article on the site as yet, so while we wait for the site to get updated, it would really help to get the hotfix.
Thanks for posting in. This is Ken in Online Partner Support.
I am sorry that the URL does not work so far. Please contact to Microsoft
Support to obtain the hotfix. If you are simply requesting the hotfix be
sent to you and no other support then charges are usually refunded or
waived.
To obtain the phone numbers for specific technology request please take a
look at the web site listed below.
http://support.microsoft.com/default.aspx?scid=fh;EN-US;PHONENUMBERS
If you are outside the US please see http://support.microsoft.com
for regional support phone numbers.
#61346 - An error occurred while checking for outgoing e-mail messages to
process for SMTP: http://sstlmscrm/SemanticSpace/.
System.Web.Services.Protocols.SoapException: Server was unable to process
request.
#14494 - A provider work item using assembly:
Microsoft.Crm.Tools.EmailProviders.dll and class:
Microsoft.Crm.Tools.Email.Providers.SmtpPollingSendEmailProvider has been
aborted because it has been running for longer than the allowed execution
time. This behavior may occur when there is a problem with the network or
because the e-mail server is busy. Verify that you can log on to the e-mail
server by using an e-mail application that uses the account specified for the
E-mail Router.
#31435 - The e-mail message with subject "Microsoft Dynamics CRM: Hareesh
Contacts_Unsuccess.csv {Lead} is complete" processed by SMTP:
http://sstlmscrm/SemanticSpace/ has exceeded the maximum number of delivery
tries. The e-mail message will be marked as undeliverable.
Regards,
Prasad K
Thanks for posting in. This is Ken in Online Partner Support.
When you configure the E-mail Router, the outgoing test has passed? Please
let me know the test access result first.
In addition, do you receive this error everytime you sent out e-mail or
intermittently?
Regards,
Prasad K.
Checking in to see how this is going.
Is there anything else we can do for you on this topic?
Have a great week!
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
--------------------------------------------------------------------------
Let me know is there any fix to this issue.
Regards,
Prasad K.
I know the error "#61042 - An error occurred while processing the outgoing
e-mail message with subject" is a known issue, however I touched based with
a well known CRM partner to see if they've encountered the issue and they
said they hadn't. I would expect everyone to be having this problem because
who isn't going to be using the email router. It is possible it's triggered
by an environment or configuration setting.
Let me know - thanks!
Ron
I too am getting thousands of these event errors on my production
server, and it's causing great discomfort amoung users.
I have the exact same error message as Prasad, so I won't post it
again.
I applied the hot fix mentioned above over a month ago, everything was
fine until now.
I'll be watching this forum, as well as others with all fingers
crossed for a solution.
Thanks
John
Thanks for the reply.
I found similar issues but re-installing or re-configuring e-mail router
resolved it in some cases. Would you please re-install the E-mail router
and let me know the result of 'Test Access' at the Configuration Wizard.
Has there been a fix for this issue Yet, Getting hammered by my sales team
on a weekly bases.
Thanks for posting in. This is Ken in Online Partner Support.
We already developed the hotfix for this issue. Please see the KB:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;952019
Please click "View and request hotfix downloads" on the top left to obtain
the fix!
Thanks for posting in. This is Ken in Online Partner Support.
We already developed the hotfix for this issue. Please see the KB:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;952019
Please click "View and request hotfix downloads" on the top left to obtain
the fix!
Kind Regards,
We applied the hotfix and it works the last month, but now the same problem
again.
Is really annoying because our customer is requering us for a solution.
HELP PLEASE
Thanks for posting in.
If you still have the same symptom after applying the hotfix, the root
cause may different. Please contact Microsoft Support for further trouble
shooting. Thanks for your understanding.
I am having the same problem. The router stops processing mail(both outgoing and tracking/incoming) after a while, as soon as I restart the service the mail get processed). It is random for how long it works at the time. I have seen kb952019, but as long as the interval is random this patch is not the solution....? When can I expect a fix? Ive been thinking of restarting the service every 15 minutes with a batch job, but I dont feel comf. with that solution.
No errors in app/system logs.
Regards
Thomas
"Kenichiro Nakamura" wrote:
>
> Hi all,
>
> This is Ken from Microsoft Newsgroup Support.
>
> As you all may already assumed, I found that the E-mail router has a bug
> for its behavior. It works intermittently like it works 1 hour and then
> stops next 1 hour. Then it resumes working 1 hour and then stops 1 hour
> again...
>
> Unfortunately enough, I couldn't have any resolution for this issue now.
> The only workaround for this is changing the value of <ConfigUpdatePeriod>
> in C:\Program Files\Microsoft CRM
> Email\Service\Microsoft.Crm.Tools.EmailAgent.xml file, For example change
> the value to 300000 (It means 5 minutes). However this merely means that
> E-mail router works intermittently in every 5 minutes so not so good
> workaround.
>
> If I can find any resolution or better workaround on this issue, I will
> update it.
>
> Sorry for inconvenience and thank you for your patience.
>
Does sending direct email via the Internet cleint work in Live?
As I don't believe we can (or should) have access to the email router or
anything on the actual servers within Microsoft, the suggested fixes do not
seem to work for the online, hosted environment.
Is there some configuration we have to go through to allow us to send direct
email?
Many thanks for any pointers,
Dave
--------------------------------------------------------
Dave Carr, President
Visionary Software Consulting, Inc.
Cell: 503-351-4207
Email: david...@live.com
Website: http://www.vscrm.com
"gherbstman" wrote:
> We have been experiencing long delays when sending email from CRM 4.0.
> Generally about 30 minutes.
>
> When viewing the e-mail from the contacts history, the top of the e-mail
> displays a message: This message has not yet been submitted for delivery CRM
> 4.0
>
> Eventually the mail delivers and the message goes away. This occurs for any
> CRM mail, manual, merges or workflow.
>
> We have Exchange 2003 on a separate server with the CRM connector.
>
> Anyone else experiencing this?
>
> --
> Gary Herbstman
> Byte Solutions, Inc.
> http://bytesolutions.com
>
>
>
Thanks Nakamura for all your comments, i have question. How about with users
are using CRM without Email Router, are using Outlook Client? You post a
hotfix for Email Router and hotfix for Outlook Client??
Thanks so much!!
What's going on!
On crm4, rollup3, crm on sbs2003 and exchange 2007 and the DC on win2k8
"Kenichiro Nakamura" wrote:
>
> Hi all,
>
> This is Ken from Microsoft Newsgroup Support.
>
> As you all may already assumed, I found that the E-mail router has a bug
> for its behavior. It works intermittently like it works 1 hour and then
> stops next 1 hour. Then it resumes working 1 hour and then stops 1 hour
> again...
>
> Unfortunately enough, I couldn't have any resolution for this issue now.
> The only workaround for this is changing the value of <ConfigUpdatePeriod>
> in C:\Program Files\Microsoft CRM
> Email\Service\Microsoft.Crm.Tools.EmailAgent.xml file, For example change
> the value to 300000 (It means 5 minutes). However this merely means that
> E-mail router works intermittently in every 5 minutes so not so good
> workaround.
>
> If I can find any resolution or better workaround on this issue, I will
> update it.
>
> Sorry for inconvenience and thank you for your patience.
>
"Pell7" wrote:
> I agree with you Terence. I wonder if Michael's and and DubSport's success
> is just due to the fact that they had to restart the service, and that got
> the emails released. I am having the same symptoms here. A little more
> details on my situation:
>
> * CRM-sent emails (as opposed to Outlook sent) seem to hang up randomly.
> * When they do, they all do. In other words, once its hung, subsequent
> emails hang as well. These 'hung' emails can all be seen with a Completed
> statecode, but Pending statuscode via CRM Advanced Find.
> * It also seems that it will free itself up after a while, approximately up
> to an hour maybe less, maybe more, I cant say for sure...but, one thing is
> for sure...restarting the service is an immediate resolution (and ALL emails
> pending get sent immediately). However, this of course is temporary because
> the problem will come back again and again and continues to haunt this
> implimentation.
>
> This suggests to me that when a problem arises with the router (I dont see
> any errors anywhere), and some retry period passes and it then has success on
> the retry...thus the crm email floodgates repopen. With this in mind, and
> looking at Michael's suggestion, there are other interesting settings in that
> xml config file.
>
> <ConnectionTimeout>300000</ConnectionTimeout>
> <PollingPeriod>60000</PollingPeriod>
> <PendingStatusDelay>30000</PendingStatusDelay>
> <SendingStatusDelay>60000</SendingStatusDelay>
>
> Based on these tag names, PendingStatusDelay seems like the most fitting
> (these emails all have pending status). Has anyone played with these
> settings?
>
> One last thought...I guess it's possible that these values are in
> miliseconds (rather than seconds like some of the others) and, therefore,
> SendingStatusDelay (60000) would be equal to 1 hour. This corresponds with
> my alleged retry period. Maybe that's the guy.
>
>
> "Terence" wrote:
>
> > Just did some research on the suggestion of changing the polling interval and
> > it appears that this setting applies to how often the email router will poll
> > the forwarding mailbox for new INCOMING email activity.
> > Isn't our problem with CRM not sending out email?
> >
> > The way I see it, a workflow in CRM is has generated an email, placed it in
> > a queue, but has it marked as "not yet been submitted" therefore meaning it
> > has not been sent yet for whatever reason.
> >
> > The suggestion was to change the polling interval, but that only changes how
> > frequently the Email Router will check user mailboxes (or the forwarding
> > mailbox) for new email. This is unrelated to why CRM is generating but not
> > sending email.
> >
> > Unless the two are tied together, or if I'm not understanding things
> > correctly, the suggestion is a solution to another problem, and not the one
> > proposed.
Hello all,
Im working with CRM 4.0 Rollup 2,
We have in our company a work flow that send emails to customers. a month
ago we started see that the emails where not being delevery. and the status
of the email was "This message has not yet been submitted for delivery".
I started to check the server logs and the crm for bugs but i didnt found
anything. I restarted the services and eaven the crm server and the problem
persited.
I thought the problem was on the role acces of the acount that executed the
workflow. until one day i found that my user coudent send emails trought the
CRM web app. i try several configurations like putting my incoming and
outgoing email configuration the email router. but didnt work.
I cheked my acount acces role (system admin) and my crm user config but al
was ok. so i changed the person that was the one that sended the emails
surveys and added another acount and started working.
so i came to the conclusion that that acount and mine had some email
problems. I cheked in the email router acounts and the 2 acounts are added.
help would be grat thx.