Emails fail to send with "Could not send message"
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
- Configure a user to use SMTP, no encryption (starttls and ssl/tls directly are unsupported on my current postfix config)
- Attempt to send an email to any source (can send to yourself as a test)
- Observe failure
Expected behavior
An email should be properly sent.
Actual behavior
No email is sent, and an error saying "Could not send message" appears.
Mail app version
3.2.4
Mailserver or service
Postfix
Operating system
Debian 12/bookworm
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database
MariaDB
Additional info
Sending over (unencrypted) SMTP works completely fine on Thunderbird, so no reason it should fail on NC. I'm trying to get unencrypted set up first (passwords only traverse my local network currently, once I actually use this externally it'll need to be encrypted) and then get encrypted set up later (with proper SSL and all).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with the reported Nextcloud Mail 3.2.4, Postfix, Debian 12, PHP 8.2, and unencrypted SMTP configuration, then compare it with the successful Thunderbird setup. Done means messages send successfully without the "Could not send message" error; the issue names no source file or test to begin from.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- debian, mariadb, php
- Domain
- backend, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100