list

server

This is the main dovel repository, it has the Go code to run dovel SMTP server.

curl https://dovel.email/server.tar tar

3a06a9c

Author: bmayer3 (bmayer@sibros.tech)

Date: Mon Jan 23 16:02:37 2023 -0300

Parent: 512d400

Updated pages

Diff

www/mail.html

commit 3a06a9cc859e2c61139169edfc64e4afffdc431b
Author: bmayer3 <bmayer@sibros.tech>
Date:   Mon Jan 23 16:02:37 2023 -0300

    Updated pages

diff --git a/www/mail.html b/www/mail.html
index 40f904a..eb25b2f 100644
--- a/www/mail.html
+++ b/www/mail.html
@@ -8,6 +8,7 @@
 <b>// about {{$subj}}</b>
 {{range (mails $subj)}}
 // From: {{.From}}
+// To: {{index .To 0}}
 // Date: {{.Date.Format "Mon, 02 Jan 2006 15:04:05 MST"}}{{if .Cc}}
 // Cc: .Cc{{end}}
 // Subject: {{.Subject}}

www/mails.html

commit 3a06a9cc859e2c61139169edfc64e4afffdc431b
Author: bmayer3 <bmayer@sibros.tech>
Date:   Mon Jan 23 16:02:37 2023 -0300

    Updated pages

diff --git a/www/mails.html b/www/mails.html
index ad5c5b5..5e5fdbf 100644
--- a/www/mails.html
+++ b/www/mails.html
@@ -7,7 +7,11 @@
 <pre>
 <b>// about {{$inbox}}/{{$subj}}</b>
 {{range (mails (print $inbox "/" $subj))}}
+{{if eq $inbox .From -}}
+// To: <a href="mail.html?inbox={{$inbox}}&subj={{$subj}}&id={{.ID}}">{{index .To 0}}</a>
+{{- else -}}
 // From: <a href="mail.html?inbox={{$inbox}}&subj={{$subj}}&id={{.ID}}">{{.From}}</a>
+{{- end}}
 // Date: {{.Date.Format "Mon, 02 Jan 2006 15:04:05 MST"}}{{if .Cc}}
 // Cc: .Cc{{end}}
 // Body: {{heading .Body 30}}