summaryrefslogtreecommitdiff
path: root/src/mail.c
diff options
context:
space:
mode:
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;