class RMail::Serialize
Public Instance Methods
calculate_boundaries(message)
click to toggle source
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.
# File lib/sup/util.rb, line 114 def calculate_boundaries(message) calculate_boundaries_low(message, []) # unless message.header['MIME-Version'] # message.header['MIME-Version'] = "1.0" # end end