route OTP email delivery through SMTP relay settings

Make rms.auth.otp_email use SMTP transport with the same host/port/auth/tls settings model as smtp relay, with outbox fallback when SMTP is unavailable. Extend OTP plugin settings schema to expose standard SMTP parameters in plugin config.
This commit is contained in:
2026-03-16 13:55:19 +01:00
parent 8382bc7ae9
commit da2923f0e1
2 changed files with 77 additions and 2 deletions

View File

@@ -12,7 +12,14 @@
"settingsSchema": {
"type": "object",
"properties": {
"from": { "type": "string" }
"host": { "type": "string" },
"port": { "type": "integer", "minimum": 1, "maximum": 65535 },
"secure": { "type": "boolean" },
"authUser": { "type": "string" },
"authPass": { "type": "string" },
"from": { "type": "string" },
"replyTo": { "type": "string" },
"allowInvalidCert": { "type": "boolean" }
},
"additionalProperties": false
},