aboutsummaryrefslogtreecommitdiff
path: root/src/mail.c
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-21 10:34:13 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-21 10:34:13 +0200
commite25a8c9ae70e5a310c1a82be55d0dbf58ba71250 (patch)
tree3368133cb605fef92548838c90c7e0bd7cea502d /src/mail.c
parentecf1e1098969c36580fc274cb70a8fd60412edf6 (diff)
downloadbokf-e25a8c9ae70e5a310c1a82be55d0dbf58ba71250.tar.gz
bokf-e25a8c9ae70e5a310c1a82be55d0dbf58ba71250.zip
mail: honor smtp_reply_to; mention payroll in agent instructions
Diffstat (limited to 'src/mail.c')
-rw-r--r--src/mail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mail.c b/src/mail.c
index 52d429c..ca35f6d 100644
--- a/src/mail.c
+++ b/src/mail.c
@@ -148,6 +148,7 @@ int mail_send_pdf(sqlite3 *db, int64_t org_id, const struct mail_message *m,
sm.password = c.password ? c.password : "";
sm.from = c.from;
sm.from_name = c.from_name;
+ sm.reply_to = c.reply_to && *c.reply_to ? c.reply_to : NULL;
sm.to = m->to;
sm.subject = m->subject;
sm.body = m->body;