uffd script: fix subject/from header
This commit is contained in:
parent
ca0c1192a0
commit
7be555013a
1 changed files with 1 additions and 2 deletions
|
@ -67,7 +67,6 @@ union all select displayname, mail, '2022' from user where not exists (select *
|
||||||
|
|
||||||
(define (mk-email displayname last-login)
|
(define (mk-email displayname last-login)
|
||||||
#"
|
#"
|
||||||
Subject: meow
|
|
||||||
Hallo ~|displayname|!
|
Hallo ~|displayname|!
|
||||||
|
|
||||||
Wir haben schon lange (seit über einem Jahr; dein letzter Login war um ~|last-login|)
|
Wir haben schon lange (seit über einem Jahr; dein letzter Login war um ~|last-login|)
|
||||||
|
@ -96,7 +95,7 @@ list of these accounts, invoke it with the \"list-accounts\" option.
|
||||||
(define (send-email address subject text)
|
(define (send-email address subject text)
|
||||||
(when verbose
|
(when verbose
|
||||||
(display (format "sending email to ~a\n" address)))
|
(display (format "sending email to ~a\n" address)))
|
||||||
(let ([text (string-append "subject: " subject "\n" text "\n")])
|
(let ([text (string-append "from: admin@hacc.space\n" "subject: " subject "\n" text "\n")])
|
||||||
(when very-verbose
|
(when very-verbose
|
||||||
(display text))
|
(display text))
|
||||||
(call-with-output-process
|
(call-with-output-process
|
||||||
|
|
Loading…
Reference in a new issue