mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 14:53:00 +03:00
[PR #180] [MERGED] fix: smtp hello for tls connections #935
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pocket-id/pocket-id/pull/180
Author: @kmendell
Created: 1/25/2025
Status: ✅ Merged
Merged: 1/27/2025
Merged by: @stonith404
Base:
main← Head:email-hello-tls-fix📝 Commits (3)
4ae86f4fix smtp hello for tls connectionb738015Merge branch 'main' into email-hello-tls-fix8f30829refactor: move client creation into a separate function📊 Changes
2 files changed (+56 additions, -28 deletions)
View changed files
📝
backend/internal/service/email_service.go(+55 -27)📝
frontend/src/routes/settings/admin/application-configuration/forms/app-config-email-form.svelte(+1 -1)📄 Description
This will fix: https://github.com/stonith404/pocket-id/issues/179#issue-2810943894
The StartTLS function was being called before the Hello function. To fix this i created a helper function and called the Hello function in all the functions that return the client. Tested locally with my postfix relay with TLS and running on Port 587.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.