Unverified Commit 3407ac88 authored by Ivan Fedorov's avatar Ivan Fedorov Committed by GitHub

feat: add X-Mailer header to outgoing emails (#5238)

parent ecb7d9d1
......@@ -51,6 +51,9 @@ module.exports = {
}
await this.loadTemplate(opts.template)
return this.transport.sendMail({
headers: {
'x-mailer': 'Wiki.js'
},
from: `"${WIKI.config.mail.senderName}" <${WIKI.config.mail.senderEmail}>`,
to: opts.to,
subject: `${opts.subject} - ${WIKI.config.title}`,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment