[BUG] Email body co...
 
Notifications
Clear all

[BUG] Email body content missing if sent before autosave

5 Posts
5 Users
1 Reactions
92 Views
(@frlacerda)
New Member
Joined: 3 weeks ago
Posts: 1
Topic starter  

**Product**: Carbonio CE
**Version**: 25.6.1
**Component**: Webmail composer / message drafting
**Environment**:
- OS: Ubuntu Server 22.04 (backend), Windows 11 (client)
- Browser: Chrome 125, Firefox 126

---

### 🐞 Summary

When composing a new email in Carbonio CE, if the message is sent before the autosave mechanism triggers, the email is sent **missing a portion of the body content**.

It seems the system sends the previously autosaved draft instead of the latest text present in the editor. This leads to email messages being sent **incomplete**, especially when content is pasted or typed quickly and the user clicks “Send” right away.

---

### 🔁 Steps to Reproduce

1. Compose a new email in Carbonio CE Web interface.
2. Type or paste content into the message body.
3. Immediately click **Send** before autosave occurs.
4. Open the message in “Sent” folder or review with the recipient.
5. Observe that the message body is truncated (missing recent input).

---

### ✅ Expected Behavior

The entire message as shown in the editor (including unsaved text) should be included in the sent email.

---

### ❌ Actual Behavior

Only the content up to the last autosave is sent. The remaining unsaved edits are silently discarded.

---

### 📎 Additional Notes

- This behavior was consistently observed on multiple browsers.
- Manually saving the draft before sending prevents the issue.
- Likely related to asynchronous handling of editor state vs. send action.

---

### ⚠️ Impact

This issue may cause serious miscommunication or data loss, as users are unaware that what they typed or pasted right before clicking "Send" is **not** included in the final message.

---

Please let us know if this behavior is confirmed and if there’s a fix or workaround planned.


   
Quote
 Klug
(@klug)
Trusted Member
Joined: 14 years ago
Posts: 70
 

Does this happen only with the autosave feature or also when the "save draft" button is used (manualy saving the draft, then modifying the message then sending it)?


   
ReplyQuote
(@ir_fanfadila)
New Member
Joined: 2 weeks ago
Posts: 1
 

same issue here,

if we just type, then send the email, content of email not send to receiver (same domain or external)
but if we click save first then send all email content sent,

no issue if we use mail client like outlook or carbonio app client, i think this is bug in web client,
but previously normal,

 

any solution guys?


   
ReplyQuote
mgarbo
(@mgarbo)
Trusted Member
Joined: 10 years ago
Posts: 64
 

Hi, seems there are new package avaiable to upgrade.

I've run the upgrade and now all seems to be fixed.


   
ReplyQuote
(@sharif)
Reputable Member Admin
Joined: 3 years ago
Posts: 751
 

@all

Some new packages has been released that fixed this issue. Try upgrading those packages and let us know.


   
ReplyQuote