S/MIME encrypted emails in Sent folder not being decrypted
Open
@kesselb is already working on this.
Since Mar 30, 2026.
1. to develop
bug
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
SmimeCertificateMapper.php.patch
Steps to reproduce
- Configure your Nextcloud Mail account for S/MIME encrypted mails by installing your private/public key pair (certificate) as well as a public key (certificate) of your recipient and linking your private key to your email account
- Send an encrypted email from Nextcloud Mail
- Select your 'Sent' folder and open an encrypted email
- You should encounter an error ("Not found")
Expected behavior
Sent encrypted emails should be decrypted to enable viewing by the sender/owner.
Actual behavior
Sent encrypted emails are not being decrypted. An error message is displayed where the message body should appear.
Mail app version
5.6.13
Nextcloud version
32.0.7
Mailserver or service
on premise
Operating system
Debian 12
PHP engine version
PHP 8.2
Nextcloud memory caching
No response
Web server
Apache (supported)
Database
MySQL
Additional info
Suggested solution: see attached
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.
Assessment
This issue has not been assessed yet.