app/mailers/mailboxer/message_mailer.rb
#Sends and email for indicating a reply in an already created conversation
Sends and email for indicating a reply in an already created conversation
Sends and email for indicating a reply in an already created conversation
def reply_message_email(message,receiver)
    @message  = message
    @receiver = receiver
    set_subject(message)
    mail :to => receiver.send(Mailboxer.email_method, message),
         :subject => t('mailboxer.message_mailer.subject_reply', :subject => @subject),
         :template_name => 'reply_message_email'
  end
def reply_message_email ( message , receiver ) @message = message @receiver = receiver set_subject ( message ) mail :to => receiver . send ( Mailboxer . email_method , message ) , :subject => t ( 'mailboxer.message_mailer.subject_reply' , :subject => @subject ) , :template_name => 'reply_message_email' end
Sends and email for indicating a reply in an already created conversation
Sends and email for indicating a reply in an already created conversation
message
<not_specific>
receiver
<not_specific>