Destructively convert the Mail object’s body into a Base64 encoded email returning the modified Mail object
Source Code
# File action_mailer/vendor/tmail-1.2.2/tmail/interface.rb, line 971 def base64_encode! store 'Content-Transfer-Encoding', 'Base64' self.body = Base64.folding_encode(self.body) end
<code/>and<pre/>for code samples.