When printing emails use default configured mailto if no specific from is there.
This commit is contained in:
parent
4ce6d85ce5
commit
5ce09dda5b
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@
|
||||||
|
|
||||||
;; Prints email to the console
|
;; Prints email to the console
|
||||||
(define (print-notification-email em)
|
(define (print-notification-email em)
|
||||||
(print "### From: " (ldict-ref em 'from "-"))
|
(print "### From: " (ldict-ref em 'from (*email-from*)))
|
||||||
(print "### To: " (ldict-ref em 'to))
|
(print "### To: " (ldict-ref em 'to))
|
||||||
(print "### Subject: " (ldict-ref em 'subject))
|
(print "### Subject: " (ldict-ref em 'subject))
|
||||||
(let loop ((lines (ldict-ref em 'body)))
|
(let loop ((lines (ldict-ref em 'body)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue