Prepare for sending emails.
This commit is contained in:
parent
1eb93de083
commit
3e94f022bd
2 changed files with 10 additions and 1 deletions
|
@ -32,6 +32,7 @@
|
|||
make+send-reminder-email
|
||||
|
||||
make+print-summary-email
|
||||
make+send-summary-email
|
||||
)
|
||||
|
||||
(import scheme
|
||||
|
@ -174,8 +175,14 @@
|
|||
(today/iso)))
|
||||
(body . ,(summary-email-body mb)))))
|
||||
|
||||
;; Just print to standard output
|
||||
(define (make+print-summary-email mb)
|
||||
(let ((em (make-summary-email mb)))
|
||||
(print-notification-email em)))
|
||||
|
||||
;; Actually send emails
|
||||
(define (make+send-summary-email mr)
|
||||
(let ((em (make-summary-email mr)))
|
||||
(send-notification-email em)))
|
||||
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue