aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.lisp
diff options
context:
space:
mode:
authorTeddy Wing2022-05-08 12:19:33 +0200
committerTeddy Wing2022-05-08 12:19:33 +0200
commit40ae5a197024253c4db06ac27a1606d21414b693 (patch)
tree305b1b5fcebb5311aad74afd37af211aa0832ee7 /src/config.lisp
parent27a205d81647c9df3c6c04f36062b87987d5ae99 (diff)
downloadwajir-40ae5a197024253c4db06ac27a1606d21414b693.tar.bz2
deliver-email: Send email data to program
Allow a "sendmail" program to be configured. If set, `deliver-email` will spawn the program and write the email its standard input. We can thus send the email by invoking the external program.
Diffstat (limited to 'src/config.lisp')
-rw-r--r--src/config.lisp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config.lisp b/src/config.lisp
index 0bc6fee..b1093b6 100644
--- a/src/config.lisp
+++ b/src/config.lisp
@@ -14,6 +14,11 @@
:reader endpoint
:documentation "Jira site URL (e.g. example.atlassian.net)")
+ (sendmail
+ :initarg :sendmail
+ :reader sendmail
+ :documentation "Email sending client command")
+
(email-to
:initarg :email-to
:reader email-to