I am facing this error on my mail in magento 2 (Currently using version 2.2.6)

On email notification I am getting this error (screenshot). Either it will be a newsletter email or success order email or anything else.

Screenshot Url:


  • I think there is problem in your email template css as shown in error . can you paste here any of your template ? Oct 5, 2018 at 6:43
  • you should check this too if it helps - magento.stackexchange.com/questions/116952/… Oct 5, 2018 at 6:46
  • Hello, Here is the code of email template that i am using: {{template config_path="design/email/header_template"}} <div style="padding:20px; background-color:#fff;"> <p>{{trans "Thank you for subscribing to our newsletter."}}</p> </div> {{template config_path="design/email/footer_template"}} Oct 5, 2018 at 6:56
  • did you check above link ? have it not worked ? Oct 5, 2018 at 7:15
  • Great to hear that !!! Oct 5, 2018 at 10:23


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.