diff --git a/infrastructure/web/views/mail.twig b/infrastructure/web/views/mail.twig index 09604bf..a752e64 100644 --- a/infrastructure/web/views/mail.twig +++ b/infrastructure/web/views/mail.twig @@ -9,6 +9,9 @@ Delete Email
+ + View Raw +
Logout @@ -41,7 +44,7 @@
{% endif %} {% if mail.attachments %} -
+
{% for attachment in mail.attachments %} 📎 {{ attachment.filename }} {# diff --git a/infrastructure/web/views/raw.twig b/infrastructure/web/views/raw.twig new file mode 100644 index 0000000..9cfa659 --- /dev/null +++ b/infrastructure/web/views/raw.twig @@ -0,0 +1,18 @@ +{% extends 'layout.twig' %} + +{% block body %} + +
+

Not yet...

+{% for header, html in mail.headers %} +

This doesnt work rn

+ {# TODO: + Make raw email. show all headers, preferrably even attachment raws and ofc mail. + need inspiration? open a mail "raw" in gmail. thats what I wanna mirror. + #} + +{% endfor %} +
+ + +{% endblock %}