Featured Post
Sitecore Error Troubleshooting: Errors while sending emails using Sitecore Email Experience Manager (EXM) in Sitecore 9.3+
- Get link
- X
- Other Apps
The Sitecore Email Experience Manager (EXM) guides you through the process of creating and sending your email campaigns.
If you are using Sitecore 9.3, you can setup custom smtp server details/you can create email using Sitecore Email Experience Manager (EXM) but you can’t send email if no valid Sitecore EXM license exist. Even you will find the icon for EXM in Sitecore Experience Platform Launchpad:
The following errors generally user will encounter while using the EXM (without Sitecore Email Experience Manager license):
Failed to store information about the session through the session data provider.
ERROR Message sending error: System.UriFormatException: Invalid URI: The hostname could not be parsed.
Exception: Sitecore.ExM.Framework.Exceptions.ConnectivityException | |
Message: Failed to store information about the session through the session data provider. | |
Source: Sitecore.ExM.Framework | |
at Sitecore.ExM.Framework.Distributed.Sessions.Session.PublishSessionInfo(Nullable`1 recentMaintenanceTime) | |
at Sitecore.ExM.Framework.Distributed.Sessions.Session.OnSessionUpdateEvent() | |
MessageTaskRunner worker thread - ERROR Message sending error: System.UriFormatException: Invalid URI: The hostname could not be parsed. | |
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) | |
at Sitecore.Modules.EmailCampaign.Core.HostnameMapping.HostnameMappingService.GetServerUrl(Item item) | |
at Sitecore.Modules.EmailCampaign.Core.Pipelines.GenerateLink.SetServerUrl.Process(GenerateLinkPipelineArgs args) | |
at (Object , Object ) | |
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) | |
at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) | |
at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) | |
at Sitecore.Modules.EmailCampaign.Core.PipelineHelper.RunPipeline(String pipelineName, PipelineArgs args) | |
at Sitecore.Modules.EmailCampaign.Messages.HtmlMailBase.<>c__DisplayClass29_0.<CorrectHtml>b__0(String link) | |
at Sitecore.Modules.EmailCampaign.Core.Links.LinksManager.ChangeHrefLink(Match match, Func`2 func) | |
at System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat) | |
at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator) | |
at Sitecore.Modules.EmailCampaign.Core.Links.LinksManager.Replace(Func`2 func) | |
at Sitecore.Modules.EmailCampaign.Messages.HtmlMailBase.CorrectHtml(String html, Boolean preview) | |
at Sitecore.Modules.EmailCampaign.Messages.HtmlMail.GetMessageBody(Boolean preview) | |
at Sitecore.EmailCampaign.Cm.Dispatch.DispatchTask.GenerateEmailContent(Contact contact, String emailAddress, Language language, ContactIdentifier contactIdentifier, Dictionary`2 customPersonTokens, Dictionary`2 customQueryStringParameters, DateTime& startGetPageTime, DateTime& endGetPageTime, DateTime& startCollectFilesTime, DateTime& endCollectFilesTime) | |
at Sitecore.EmailCampaign.Cm.Dispatch.DispatchTask.OnSendToNextRecipient() |
The above errors generally related to Sitecore Email Experience Manager (EXM) license.
You can perform following steps to validate the Sitecore License:
1. Open the license file in any text editor
2. Search for “Sitecore.EXM”
3. If you have valid EXM license then following signature attribute will be present:
- Sitecore.EXM.Custom.SMTP
- Sitecore.EXM.Delivery.Cloud
- Sitecore.EXM.Emails
In Sitecore Experience Platform 10, you will not find the icon for EXM in Sitecore Experience Platform Launchpad, if no valid license for EXM present:
In both the cases, please connect with your regional Sitecore Sales Representative for updated Sitecore Experience Platform license which includes Sitecore Email Experience Manager (EXM) subscription.
In the recent past many Sitecore Community members are facing this issue, so thought of sharing the details which will be helpful to identify the issue.
- Get link
- X
- Other Apps
Comments