instance method
mime_encode_multipart
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
mime_encode_multipart( top = true )
No documentation comment.
Parameters
-
topopt = true
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/net.rb, line 118
def mime_encode_multipart( top = true )
self.mime_version = '1.0' if top
self.set_content_type 'multipart', 'mixed'
e = encoding(nil)
if e and not /\A(?:7bit|8bit|binary)\z/i === e
raise ArgumentError,
'using C.T.Encoding with multipart mail is not permitted'
end
end
Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/net.rb line 118
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in TMail::Mail