mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #5934] [bug]: Error from sendEmail: TypeError: Cannot read properties of undefined (reading 'sendMail') #2331
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#2331
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?
Originally created by @carenswijaya01 on GitHub (Mar 4, 2026).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5934
Originally assigned to: @mirarifhasan on GitHub.
Is there an existing issue for this?
Platform
Web App
Browser
Chrome
Operating System
Linux
Bug Description
I tried to upgrade from hoppscotch 2025.10.1 to 2026.2.0. Previously i'm able to send email for user / admin login. Now when i'm upgrading to latest version, i got error like this
and after i tried to log, console.log(this.nestMailerService) in mailer.service.js and i got 'undefined' for that log
this is my docker compose setup from portainer
And this is my env
I dont know if it just misconfigure or something, but if i tried previous version like 2025.11.2 i still get the same error, but if i use 2025.10.1 it works but my collection become untitled, maybe because downgrading issue
Deployment Type
Self-hosted (on-prem deployment)
Version
2026.2.0
@carenswijaya01 commented on GitHub (Mar 4, 2026):
i tried restarting the container and it worked (2026.2.0), but when i tried to restart it again, it didn’t work anymore till now and got same error and same log (undefined)
@carenswijaya01 commented on GitHub (Mar 6, 2026):
i just notice when i restart again, when building the nest app, i got error
maybe because mailer module is disabled? how to re run it without restarting docker?
@carenswijaya01 commented on GitHub (Mar 6, 2026):
yep, i think it's because mailer module is disabled. Here's the little trick i do, but i hope it fixed later
and the logs should be like this, then my email works
Using advanced mailer configuration part is what i looking for