mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 08:45:58 +03:00
[PR #5972] feat: add MAILER_SMTP_IGNORE_TLS and optional SMTP auth #5440
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#5440
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/hoppscotch/hoppscotch/pull/5972
Author: @mirarifhasan
Created: 3/11/2026
Status: 🔄 Open
Base:
next← Head:feat/smtp-optional-auth📝 Commits (1)
c02cea5feat: add MAILER_SMTP_IGNORE_TLS and optional SMTP auth📊 Changes
5 files changed (+30 additions, -13 deletions)
View changed files
📝
packages/hoppscotch-backend/src/infra-config/dto/onboarding.dto.ts(+7 -0)📝
packages/hoppscotch-backend/src/infra-config/helper.ts(+5 -2)📝
packages/hoppscotch-backend/src/infra-config/infra-config.service.ts(+1 -4)📝
packages/hoppscotch-backend/src/mailer/helper.ts(+16 -7)📝
packages/hoppscotch-backend/src/types/InfraConfig.ts(+1 -0)📄 Description
Closes BE-714
What's changed
This PR improves the flexibility of the SMTP mailer configuration.
MAILER_SMTP_USERandMAILER_SMTP_PASSWORDare now optional. These fields can be left empty from the UI if authentication is not required.MAILER_SMTP_IGNORE_TLSconfiguration.The onboarding UI and the Admin SMTP configuration tab have been updated to reflect these changes.
Notes to reviewers
Nil
Summary by cubic
Make SMTP auth optional and add
MAILER_SMTP_IGNORE_TLSto support servers without auth or TLS. Updates UI and config validation to match. Closes BE-714.MAILER_SMTP_USER/MAILER_SMTP_PASSWORDcan be empty; transport setsauthonly when provided.MAILER_SMTP_IGNORE_TLS(defaultfalse) and wired to transportignoreTLS.Written for commit c02cea5c0a8efea116d2cd6cf77a79f98a32e4a2. Summary will update on new commits.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.