vendor/mailboxer/app/mailers/mailboxer/message_mailer.rb
#Sends and email for indicating a new message or a reply to a receiver.
#It calls new_message_email if notifing a new message and reply_message_email
#when indicating a reply to an already created conversation.
Sends and email for indicating a new message or a reply to a receiver.
It calls new_message_email if notifing a new message and reply_message_email
when indicating a reply to an already created conversation.
Sends and email for indicating a new message or a reply to a receiver . It calls new_message_email if notifing a new message and reply_message_email when indicating a reply to an already created conversation .
def send_email(message, receiver)
    if message.conversation.messages.size > 1
      reply_message_email(message,receiver)
    else
      new_message_email(message,receiver)
    end
  end
def send_email ( message , receiver ) if message . conversation . messages . size > 1 reply_message_email ( message , receiver ) else new_message_email ( message , receiver ) end end
Sends and email for indicating a new message or a reply to a receiver.
Sends and email for indicating a new message or a reply to a receiver .
message
<not_specific>
receiver
<not_specific>