public Method

Mail.base64_decode

There's no documentation for this item.

Source Code

# File action_mailer/vendor/tmail-1.1.0/tmail/interface.rb, line 493
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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.