nextcloud / nextcloud/mail

Email Signature Update Issue

Open
#10,563 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Steps to reproduce

When I try to update the email signature for users, it does not update, but the interface shows a success icon indicating it was saved correctly.

The issue is as follows: the actions are performed correctly, but when the base64 image content is saved to the database, it is too long and gets truncated.

-Steps to Reproduce

Go to the Nextcloud web interface.
Navigate to the email settings for a user.
Add or update the email signature, including an image.
Click the "Save" button.

Expected behavior

The email signature, including the image, is saved completely to the database.
The updated signature is reflected in the interface without issues.

Actual behavior

The interface shows a success icon indicating the signature has been saved correctly.
However, when the signature includes a image with a large content size, the data is truncated in the database.
As a result, the full signature does not save properly.

Mail app version

4.1.1

Nextcloud version

30.0.4

Mailserver or service

n/a

Operating system

n/a

PHP engine version

PHP 8.2

Nextcloud memory caching

n/a

Web server

Apache (supported)

Database

MySQL

Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue through the Nextcloud web interface's user email settings, using an email signature with a large image. Trace how the signature is saved to the MySQL database and verify whether the complete value persists after saving. Done means the full signature, including the image, is retained and shown correctly in the interface.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, php
Domain
backend, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.