Module: Mail

Defined in:
actionmailbox/lib/action_mailbox/mail_ext/addresses.rb,
actionmailbox/lib/action_mailbox/mail_ext/recipients.rb,
actionmailbox/lib/action_mailbox/mail_ext/from_source.rb,
actionmailbox/lib/action_mailbox/mail_ext/address_equality.rb,
actionmailbox/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 'actionmailbox/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