Email Send Object Reference Error

Jim Piller asked on August 29, 2019 17:15

On my local machine, when I try to send either a draft of an email from the Email Marketing app or do an actual send from the Email Marketing app, I get the following object reference error. The difference between one send and the other is the source. When I send a draft, I get the source stated below. When I use the "Send" functionality, the object reference error is the same, but the source is EmailQueueManager.
My SMTP server is Send Grid and I have the following settings
SMTP Server: smtp.sendgrid.net:587
User Name: < my account user name >
Password: < my account password >

Any thoughts on what's causing the issue below? I've confirmed that I'm using AngleSharp v0.9.9.

Source: DraftSender+ < > c__DisplayClass5_0

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)

Recent Answers


David te Kloese answered on September 23, 2019 16:01

In case you've not resolved it yet did you check if the from email is an allowed sender?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.