I am currently developing a Django application that requires sending out Emails with HTML templates. These email templates include images and dynamic variables from the Django context. However, each time I make changes to the inline CSS or HTML, I have to send myself a new Email to ensure it appears correctly in different browsers and applications. Is there a way to preview the Email without actually sending it to myself? Simply viewing the Email in the browser is not sufficient as the CSS may be interpreted differently when sent via Email.
<table cellpadding="0" bgcolor="#fff" border="0" style="width: 900px;">
<a href="mailto:<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="711a1e1f05101a05310212191c14030b5c140901140305025f1514">[email protected]</a>">
<img style="width: 900px" src="cid:top.jpg" />
</a>
</table>
<table cellpadding="12" bgcolor="#fff" border="0" style="width: 900px; margin-left: 0em; margin-bottom: 15px;">
<p style="font-weight: bold; font-size: 24px; text-align: center;">VIELEN DANK.</p>
<p>Sehr geehrte Patientin, Sehr geehrter Patient,</p>
<p>Ihre Registrierung ist nun abgeschlossen. In Kürze erhalten Sie Ihren ersten Newsletter. </p>
<p>Sollten Sie diesen innerhalb von 24 Stunden nicht erhalten, schauen Sie bitte auch in Ihrem Spam Ordner nach.
</p>
<p>Sollten Sie Fragen oder Anmerkungen haben, zögern Sie nicht uns zu kontaktieren.</p>
<table role="presentation" cellspacing="0" cellpadding="0" style="background-color: rgb(1,41,101)">
<tr>
<td
style="width: 350px; padding: 16px 48px; background-color: rgb(1,41,101); text-align: center;font-weight: 700;">
<a class="button" style="color: #fff; width: 400px" href="mailto:<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="244f4b4a50454f506457474c4941565e09415c54415650570a4041">[email protected]</a>">Kontakt
aufnehmen hier.</a>
</td>
</tr>
</table>
<p>Mit freundlichen Grüßen</p>
<p>Ihr</p>
<p>Schmerz-Spezialisten Team</p>
</table>
Any assistance would be greatly valued.
Example of an Email body:
Kind regards,
Andreas