Module: Mail

Defined in:
lib/caffeinate/mail_ext.rb

Defined Under Namespace

Classes: Message

Class Method Summary collapse

Class Method Details

.from_source(source) ⇒ Object



4
5
6
# File 'lib/caffeinate/mail_ext.rb', line 4

def self.from_source(source)
  Mail.new Mail::Utilities.binary_unsafe_to_crlf(source.to_s)
end