Hi there,
After upgrading EspoCRM from 10.1.0 to 10.1.1, users can no longer reply to certain emails containing attachments.
Steps to reproduce:
Actual behavior:
Attachments from the original email are included in the reply body as inline attachments. As a result, the request fails with a 403 Forbidden error, preventing the user from sending the reply.
Error log:
[2026-11-13 11:04:55] WARNING: (403) Not allowed inline attachment 'ef110027cbcf6119c'. Not inline attachment record. :: POST /Email
[object] (Espo\Core\Exceptions\Forbidden(code: 403): Not allowed inline attachment 'ef110027cbcf6119c'. Not inline attachment record. at /var/www/espocrm/application/Espo/Core/Record/Access/LinkCheck/WysiwygCheck.php:91)
Expected behavior:
Users should be able to reply to received emails without validation errors.
After upgrading EspoCRM from 10.1.0 to 10.1.1, users can no longer reply to certain emails containing attachments.
Steps to reproduce:
- Receive an email with attachments and let EspoCRM fetch it. The attachments are stored with role = 'Attachment'.
- Open the received email and click Reply.
- Write a text response without adding or modifying any attachments.
- Try to send the reply.
Actual behavior:
Attachments from the original email are included in the reply body as inline attachments. As a result, the request fails with a 403 Forbidden error, preventing the user from sending the reply.
Error log:
[2026-11-13 11:04:55] WARNING: (403) Not allowed inline attachment 'ef110027cbcf6119c'. Not inline attachment record. :: POST /Email
[object] (Espo\Core\Exceptions\Forbidden(code: 403): Not allowed inline attachment 'ef110027cbcf6119c'. Not inline attachment record. at /var/www/espocrm/application/Espo/Core/Record/Access/LinkCheck/WysiwygCheck.php:91)
Expected behavior:
Users should be able to reply to received emails without validation errors.

Comment