Recently I've tried setting up the Email Marketing stuff on my local machine. I thought I had everything setup and then I checked the event log and saw that this error is repeating several times per second!! Not sure what checkbox I missed or what setting I didn't add, but I don't want to deploy this code anywhere until I resolve this issue.My SMTP server is currently SendGrid and it's only for local testing and development. I'm using my sendgrid user name and password w/ SSL enable in the System settings under Emails.Server Name: smtp.sengrid.net
Tried both SSL turned on and off.Message: Object reference not set to an instance of an object.Exception type: System.NullReferenceException
Stack trace:
at AngleSharp.AutoSelectedMarkupFormatter.Comment(IComment comment)
at AngleSharp.Dom.Comment.ToHtml(TextWriter writer, IMarkupFormatter formatter)
at AngleSharp.Dom.Collections.NodeList.ToHtml(TextWriter writer, IMarkupFormatter formatter)
at AngleSharp.Extensions.FormatExtensions.ToHtml(IMarkupFormattable markup, IMarkupFormatter formatter)
at PreMailer.Net.PreMailer.MoveCssInline(Boolean removeStyleElements, String ignoreElements, String css, Boolean stripIdAndClassAttributes, Boolean removeComments)
at CMS.Newsletters.PreMailerCssInliner.InlineCss(String htmlSource, Uri baseUri)
at CMS.Newsletters.EmailParts.GetBody()
at CMS.Newsletters.EmailMessageBuilder.GetMessage()
at CMS.Newsletters.EmailQueueManager.SendEmail(EmailQueueItemInfo email, EmailParts emailParts, String siteName)
↧