The Microsoft Dynamics CRM 3.0 web client
When a Microsoft Dynamics CRM user sends an email message by using the Microsoft Dynamics CRM 3.0 web client, the recipient does not receive the email message. This problem occurs when the following conditions are true:
- The Microsoft Dynamics CRM server components and Microsoft Exchange Server are installed on separate servers.
- During the installation of the Microsoft Dynamics CRM server components, you type the name of the Exchange server as the incoming Simple Mail Transfer Protocol (SMTP) server name and as the outgoing SMTP server name.
- The Microsoft Dynamics CRM server has a local SMTP service installed.
Note On the Microsoft Dynamics CRM server, you can see the unresolved email messages in the following directory:
C:\Inetpub\mailroot\Badmail
Additionally, you may receive the following error message:
"Failed to Initialize Token" Initialize Token FailureT
The Microsoft Dynamics CRM 4.0 or Microsoft Dynamics CRM 2011 web client
When a Microsoft Dynamics CRM user sends an email message by using the Microsoft Dynamics CRM 4.0 or Microsoft Dynamics CRM 2011 web client, the email message is sent or queues up. However, if an issue occurs when the user sends the email message, the user receives one of the following error messages in the email activity.
Error message 1This message has not yet been submitted for delivery. 1 attempts have been made so far.
Error message 2The message delivery failed. It must be resubmitted for any further processing.
Additionally, you receive an error message that resembles the following in the MSCRMEmailLog event log:
Event Type:Error
Event Source:MSCRMEmailLog
Event Category:None
Event ID:0
Date:Date
Time:Time
User:N/A
Computer:ComputerName
Description: #61042 - An error occurred while processing the outgoing e-mail message with subject "test 3 today CRM:0001011" for SMTP: http://adsrv:81/MS1 for delivery through adsrv. System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6, Int32 timeout)
at System.Net.PooledStream.Activate(Object owningObject, Boolean async, Int32 timeout, GeneralAsyncDelegate asyncCallback)
at System.Net.PooledStream.Activate(Object owningObject, GeneralAsyncDelegate asyncCallback)
at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port)
at System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port)
at System.Net.Mail.SmtpClient.GetConnection()
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.SendMessage(MailMessage mailMessage)
at Microsoft.Crm.Tools.Email.Providers.SmtpPollingSendEmailProvider.ProcessMessageInternal(email emailMessage)
at Microsoft.Crm.Tools.Email.Providers.CrmPollingSendEmailProvider.ProcessMessage(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.