Message dispatch might be paused in cases where the SMTP connection has been rejected with any SMTP failure, except for ConnectionLost, Timeout, or GreetingError reasons. The following related exceptions can be found in the log records:
smtpSocketConnect:
socket2Connect:
connect2:
ConnectFailReason: Connection rejected
--connect2
--socket2Connect
Failed to connect to SMTP server…
--smtpSocketConnect
ERROR Message sending error:
System.AggregateException: One or more errors occurred. ---> Sitecore.EDS.Core.Exceptions.TransportException: Internal failure.
at Sitecore.EDS.Core.Net.Smtp.ChilkatTransportClient.SendAsync(Email message)
at Sitecore.EDS.Core.Net.Smtp.ChilkatMessageTransport.<RetryOnFault>d__10.MoveNext()
ERROR Exception: Sitecore.Modules.EmailCampaign.Exceptions.EmailCampaignException
Message: Failed to connect to the email server. Please try again later.
Source: Sitecore.EmailCampaign
at Sitecore.Modules.EmailCampaign.SendingManager..ctor(Boolean checkConnection, MessageItem message, Boolean isService, ILogger logger, ISenderManager senderManager, IDispatchManager dispatchManager)
at Sitecore.Modules.EmailCampaign.SendingManager..ctor(Boolean checkConnection, MessageItem message, Boolean isService, ILogger logger)
at Sitecore.Modules.EmailCampaign.Core.Dispatch.SendingHelper.SendStandardMessage(String messageId, RecipientId recipientId, Boolean async, ILogger logger)
To configure the dispatch retryer so that the dispatch is not paused for some specific exceptions, consider the following solution.