silverstripe-permamail icon indicating copy to clipboard operation
silverstripe-permamail copied to clipboard

Writing of SentEmail returns an error when using attachments

Open kneibdev opened this issue 8 years ago • 0 comments

When attaching files from assets/* the SentEmail object couldn't be written.

Message:

`ERROR [User Error]: Uncaught SS_DatabaseException: Couldn't run query:

UPDATE "SentEmail" SET "To" = ?, "From" = ?, "Subject" = ?, "Body" = ?, "SerializedEmail" = ?, "LastEdited" = ?, "Created" = ?, "ClassName" = ?

WHERE ("ID" = ?)

Lost connection to MySQL server during query`

kneibdev avatar Sep 21 '16 18:09 kneibdev