--- !ruby/object:RI::MethodDescription 
aliases: 
- !ruby/object:RI::AliasName 
  name: encoding
- !ruby/object:RI::AliasName 
  name: content_transfer_encoding
block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns the transfer encoding of the email. Returns nil if no encoding set or returns whatever default you pass as a parameter - note passing the parameter does NOT change the mail object in any way.
- !ruby/struct:SM::Flow::P 
  body: "Example:"
- !ruby/struct:SM::Flow::VERB 
  body: " mail = TMail::Mail.load(&quot;path_to/base64_encoded_email&quot;)\n mail.transfer_encoding #=&gt; &quot;base64&quot;\n\n mail = TMail::Mail.new\n mail.transfer_encoding #=&gt; nil\n mail.transfer_encoding(&quot;base64&quot;) #=&gt; &quot;base64&quot;\n"
full_name: TMail::Mail#transfer_encoding
is_singleton: false
name: transfer_encoding
params: ( default = nil )
visibility: public
