This commit is contained in:
Dominik Pantůček 2023-10-17 19:19:58 +02:00
parent 8a3b9f0b10
commit f2b7384ff6

View file

@ -53,7 +53,8 @@
members-print
table
bank-account
logging)
logging
srfi-1)
;; Prints email to the console
(define (print-notification-email em)
@ -78,8 +79,10 @@
(send-mail (ldict-ref em 'body)
#:from (*email-from*)
#:headers (ldict-ref em 'headers '())
#:to (list (ldict-ref em 'to)
(ldict-ref em 'cc))
#:to (filter
identity
(list (ldict-ref em 'to)
(ldict-ref em 'cc #f)))
#:subject (ldict-ref em 'subject)))
;; Creates reminder email body