Method: Mailboxer::Models::Messageable#reply_to_sender

Defined in:
lib/mailboxer/models/messageable.rb

#reply_to_sender(receipt, reply_body, subject = nil, sanitize_text = true, attachment = nil) ⇒ Object

Replies to the sender of the message in the conversation



99
100
101
# File 'lib/mailboxer/models/messageable.rb', line 99

def reply_to_sender(receipt, reply_body, subject=nil, sanitize_text=true, attachment=nil)
  reply(receipt.conversation, receipt.message.sender, reply_body, subject, sanitize_text, attachment)
end