mirror of
https://github.com/immich-app/immich.git
synced 2026-03-22 16:39:26 +03:00
fix: SMTP over TLS (#26893)
Final step on #22833 PReq #22833 is about adding support for SMTP-over-TLS rather than just STARTTLS when sending emails. That PReq adds almost everything; it just forgot to actually pass the flag to Nodemailer at the end. This adds that last line of code and makes it work correctly (for me, anyways!). Co-authored-by: Nathaniel <I@nathaniel.land>
This commit is contained in:
@@ -162,6 +162,7 @@ export class EmailRepository {
|
|||||||
host: options.host,
|
host: options.host,
|
||||||
port: options.port,
|
port: options.port,
|
||||||
tls: { rejectUnauthorized: !options.ignoreCert },
|
tls: { rejectUnauthorized: !options.ignoreCert },
|
||||||
|
secure: options.secure,
|
||||||
auth:
|
auth:
|
||||||
options.username || options.password
|
options.username || options.password
|
||||||
? {
|
? {
|
||||||
|
|||||||
Reference in New Issue
Block a user