Module: RMail::CustomizedSerialize
- Defined in:
- lib/sup/util.rb
Instance Method Summary collapse
-
#calculate_boundaries(message) ⇒ Object
Don’t add MIME-Version headers on serialization.
Instance Method Details
#calculate_boundaries(message) ⇒ Object
Don’t add MIME-Version headers on serialization. Sup sometimes want’s to serialize message parts where these headers are not needed and messing with the message on serialization breaks gpg signatures. The commented section shows the original RMail code.
117 118 119 120 121 122 |
# File 'lib/sup/util.rb', line 117 def calculate_boundaries() calculate_boundaries_low(, []) # unless message.header['MIME-Version'] # message.header['MIME-Version'] = "1.0" # end end |