feat: add X-Mailer header to outgoing emails (#5238)
Co-authored-by: Nicolas Giard <github@ngpixel.com>
This commit is contained in:
parent
ecb7d9d14b
commit
3407ac8829
@ -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}`,
|
||||
|
Loading…
Reference in New Issue
Block a user