Module: Mail

Defined in:
lib/action_mailbox/mail_ext/addresses.rb,
lib/action_mailbox/mail_ext/recipients.rb,
lib/action_mailbox/mail_ext/from_source.rb,
lib/action_mailbox/mail_ext/address_equality.rb,
lib/action_mailbox/mail_ext/address_wrapping.rb

Defined Under Namespace

Classes: Address, Message

Class Method Summary collapse

Class Method Details

.from_source(source) ⇒ Object



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

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