chore: log emails sent from chatwoot (#8721)
- Log details related to emails sent from Chatwoot to assist in debugging email delivery/bounces/complaints
This commit is contained in:
@@ -45,6 +45,9 @@ class ConversationReplyMailer < ApplicationMailer
|
||||
|
||||
@messages = @conversation.messages.chat.select(&:conversation_transcriptable?)
|
||||
|
||||
Rails.logger.info("Email sent from #{from_email_with_name} \
|
||||
to #{to_email} with subject #{@conversation.display_id} \
|
||||
#{I18n.t('conversations.reply.transcript_subject')} ")
|
||||
mail({
|
||||
to: to_email,
|
||||
from: from_email_with_name,
|
||||
|
||||
Reference in New Issue
Block a user