2023-08-14, 05:19 PM
(This post was last modified: 2023-08-14, 05:23 PM by cloud9_development. Edited 3 times in total.)
(2023-08-14, 05:13 PM)Marcus Junius Wrote: in first place I apologize for my english, because german is my native language.
Your plugin is great and it works well. Since a few days version 0.60 is out and for me in the settings of the "newsletter plugin" the section "Body HTML" is empty. In the section "EntryData HTML" it says the following
"<tr class='boxed' style='outline: thin solid #D3D3D3;'>
<td class='lefttable' style='padding-right: 5%; padding-left: 2%; padding-top: 2%; padding-bottom: 2%;'>
<img style='width: 200px; height: 300px;' src='{ImageURL}'>
</td>
<td class='righttable' style='vertical-align: top; padding-left: 5%; padding-right: 2%; padding-top: 2%; padding-bottom: 2%;'>
<p>
<div id='SeriesTitle' class='text' style='color: #FFFFFF; text-align: center;'>
<h3>
{Title}
</h3>
</div>
<div class='text' style='color: #FFFFFF;'>
{SeasonEpsInfo}
</div>
<hr>
<div id='Description' class='text' style='color: #FFFFFF;'>
{SeriesOverview}
</div>
</hr>
</p>
</td>
</tr>"
On the Github page I have found the template. My question is, what do I need to copy into the "Body HTML" section to make the newsletter work again?
Thanks a lot
Hi Marcus,
yes. Not sure why the body blanked. But yes, copy the Templates/templateBody.html contents into the "html body" field in jellyfin and that should fix the blank emails.
For ease, I'll also paste exactly what you need to copy over to "Body HTML" below:
<html>
<div>
<table style='margin-left: auto; margin-right: auto;'>
<tr>
<td width='100%' height='100%' style='vertical-align: top; background-color: #000000;'>
<table id='InsertHere' name='MainTable' style='margin-left: auto; margin-right: auto; border-spacing: 0 5px; padding-left: 2%; padding-right: 2%; padding-bottom: 1%;'>
<tr style='text-align: center;'>
<td colspan='2'>
<span>
<h1 id='Title' style='color:#FFFFFF;'>Jellyfin Newsletter</h1>
<h3 id='Date' style='color:#FFFFFF;'>2023-03-14</h3>
</span>
</td>
</tr>
<!-- Fill this in from code -->
{EntryData}
<!-- Fill that in from code -->
</table>
</td>
</tr>
</table>
</div>
</html>