Add support for custom email headers via JSON input (#264)

* Adding custom header with JSON support

* Adding headers in test workflow

---------

Co-authored-by: W506810_wexinc <spiros.kalogeropoulos@wexinc.com>
This commit is contained in:
Spiros Kalogeropoulos
2026-02-27 12:38:27 +00:00
committed by GitHub
parent 7c60f8f904
commit ba302ba66e
4 changed files with 8 additions and 0 deletions

View File

@@ -63,6 +63,8 @@ Some features:
attachments: attachments.zip,git.diff,./dist/static/*.js
# Optional priority: 'high', 'normal' (default) or 'low'
priority: low
# Optional custom headers:
headers: '{"X-Priority": "3 (Normal)", "X-My-Header": "MyValue"}'
# Optional nodemailerlog: true/false
nodemailerlog: false
# Optional nodemailerdebug: true/false if true lognodem will also be set true