Issue Bug Closed

#91763Mail file spool is broken

Remo H. 07/08/20, 11:58 updated 01/06/22, 14:22

Description

There are two issues:
1) Mails (SentMessage) can not be serialized
2) FluidEmail calls generateTemplatedBody() in ensureValidity which leads to a null pointer exception for view when queued email is actually send

Solutions:
1) In FileSpool::doSend serialize orgiginal message: $ser = serialize($message->getOriginalMessage());
2) Only generate body if text and html body is empty

Reviews 2