mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 09:53:43 +08:00
59578dfc5b
Two behaviors in the mail gem collide: 1. Attachments are added as extra parts at the top level, 2. When there are both text and html parts, the content type is set to 'multipart/alternative'. Since attachments aren't alternative renderings, for emails that contain attachments and both html and text parts, some coercing is necessary. |
||
---|---|---|
.. | ||
authentication_results_spec.rb | ||
cleaner_spec.rb | ||
email_spec.rb | ||
message_builder_spec.rb | ||
processor_spec.rb | ||
receiver_spec.rb | ||
renderer_spec.rb | ||
sender_spec.rb | ||
styles_spec.rb |