Initial Commit
Co-authored-by: Subin <subinthattaparambil@gmail.com> Co-authored-by: Manoj <manojmj92@gmail.com> Co-authored-by: Nithin <webofnithin@gmail.com>
This commit is contained in:
10
app/mailers/assignment_mailer.rb
Normal file
10
app/mailers/assignment_mailer.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class AssignmentMailer < ApplicationMailer
|
||||
default from: 'accounts@chatwoot.com'
|
||||
layout 'mailer'
|
||||
|
||||
def conversation_assigned(conversation, agent)
|
||||
@agent = agent
|
||||
@conversation = conversation
|
||||
mail(to: @agent.email, subject: "#{@agent.name}, A new conversation [ID - #{@conversation.display_id}] has been assigned to you.")
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user