Server 500 Error on "Emails > Preview Summary"

When I visit the page in question, I get a Server Error. Why could this be?

If you visit your /logs page there should be more info in there for that kind of error. If you can copy it here so we can see it may give us more clues as to what may have happened.

You could also try safe mode and see if the same thing happens, as well as checking the browser console for any errors when you click on the page link. :+1:

4 Likes

Very helpful thanks! I found that my Custom Email CSS Styles were causing the problem. Not sure why, they seem pretty kosher to me? Perhaps Discourse doesn’t like my attribute selectors. Discourse Email customisation is lacking :frowning:

a, span {
border-radius: 20px !important;
}

img:not([alt="replies"], [alt="likes"]) {
border-radius: 8px !important;
}

div div[style*="margin-bottom:25px"] div[style*="padding-top:5px"] {
background-color: unset !important;
padding-top: 15px !important;
}

img[alt="Company"] {
height: 75px !important;
}
1 Like

Hmmm. :thinking: I’m not sure. I’m afraid customising email isn’t my forte, but if you spin up a new support topic it should get more eyes on it. :+1:

There’s also a guide that may be useful?

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.