I am using the latest cuba-platform-6.8.4 and have a little problem
with sending eMails. Everything is working fine with sending, when I am not using
an attachement. The email is send an I find it after sending in the eMail-send-log.
But when I attach a pdf-File the eMail is send, but it is not in the log.
Is there a setting for the logging-structure, that I did not found ?
I cannot find anything wrong, even the mail is going out ?
yes, its mySQL.
I am storing my attached files in another way (direct in the filesystem).
So for me it would help, when there is a way to save the email-log without storing the attachemets .
Is this possible ?
It seems it is better to fix the problem locally:
Using DBMS manager alter the “content” column in “sys_sending_attachment”. Change its type to “longblob” and email history will be saved successfully.
You can also setup storage of email attachments in filesystem instead of DB.
To do it, set cuba.email.useFileStorage property to true.
But you should upgrade your project to the platform version 6.8.6(or greater). As in earlier versions, this option did not work properly due to the issue.