mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00: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:
parent
c2a279e49e
commit
e322d44f95
1 changed files with 1 additions and 0 deletions
|
|
@ -162,6 +162,7 @@ export class EmailRepository {
|
|||
host: options.host,
|
||||
port: options.port,
|
||||
tls: { rejectUnauthorized: !options.ignoreCert },
|
||||
secure: options.secure,
|
||||
auth:
|
||||
options.username || options.password
|
||||
? {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue