# שגיאת שרת 500 ב-"מיילים \> תקציר תצוגה מקדימה"

**URL:** <https://meta.discourse.org/t/server-500-error-on-emails-preview-summary/276181>\
**Category:** Product Support\
**Created:** [22 באוגוסט,‏ 2023,‏ 1:18pm UTC](https://meta.discourse.org/t/server-500-error-on-emails-preview-summary/276181 "2023-08-22T13:18:21Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Ben\_Sutton](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ben_sutton/32/313156_2.png) [@Ben\_Sutton](https://meta.discourse.org/u/Ben_Sutton)\
**Post date:** [22 באוגוסט,‏ 2023,‏ 1:26pm UTC](https://meta.discourse.org/t/server-500-error-on-emails-preview-summary/276181/3 "2023-08-22T13:26:47Z")

</div>

> [@JammyDodger](#):
>
> logs

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 ☹

```plaintext
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;
}

```

---

_[View the full topic](https://meta.discourse.org/t/server-500-error-on-emails-preview-summary/276181)._
