openproject icon indicating copy to clipboard operation
openproject copied to clipboard

In case of errors in mail_handler, serialize mail object properly

Open oliverguenther opened this issue 2 years ago • 0 comments

The mail being passed to UserMailer cannot be serialized by ActiveJob, so this fails whenever background jobs are being used.

Instead of trying to pass a Mail::Message, only pass in the values we need to send out the response.

https://community.openproject.org/wp/35823

oliverguenther avatar Aug 10 '22 12:08 oliverguenther