Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Use plain_text_body for reporting errors

Oliver Güntherc778bda90b10
diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb
index 357a77a4da1..ad7295f9d7e 100644
--- a/app/models/mail_handler.rb
+++ b/app/models/mail_handler.rb
@@ -589,7 +589,7 @@ class MailHandler < ActionMailer::Base
subject: email.subject,
from: email.from&.first || '(unknown from address)',
quote: incoming_email_quote(email),
- text: incoming_email_text(email)
+ text: plain_text_body || incoming_email_text(email)
}
end