Destructively convert the Mail object’s body into a Base64 decoded email returning the modified Mail object
Source Code
# File action_mailer/vendor/tmail-1.2.2/tmail/interface.rb, line 983 def base64_decode! if /base64/i === self.transfer_encoding('') store 'Content-Transfer-Encoding', '8bit' self.body = Base64.decode(self.body, @config.strict_base64decode?) end end
<code/>and<pre/>for code samples.