Chatwoot unable to send Chat Transcript
-
I tested this and can confirm the following:
For incoming this method is working
When Status Change of any Conversation the outgoing email is working
3. Transcripts Send Email is not working...
any idea how to fix this? -
-
@sufian-mughal said in Chatwoot unable to send Chat Transcript:
I tested this and can confirm the following:
Can you give more details about your setup ? What exactly is Transcripts Send Email ? Can you post a screenshot so we can reproduce ? (Sorry, if these are basic question but we simply package the app and are not experts in the app itself. So, we don't know the app itself very well ).
-
2023-03-23T01:00:38.000Z 2023-03-23T01:00:38.718Z pid=12 tid=2w5k class=ActionMailer::MailDeliveryJob jid=bddee25bd795abf876bd086e INFO: start
2023-03-23T01:00:38.000Z I, [2023-03-23T01:00:38.719272 #11] INFO -- : [655d3bf6-38b4-411c-8131-089c27103815] [ActiveJob] Enqueued ActionMailer::MailDeliveryJob (Job ID: 06617b85-88ae-4505-beb7-244a676f130a) to Sidekiq(mailers) with arguments: "ConversationReplyMailer", "conversation_transcript", "deliver_now", {:params=>{:account=>#<GlobalID:0x00007f40fa9a4f60 @uri=#<URI::GID gid://chatwoot/Account/1>>}, :args=>[#<GlobalID:0x00007f40fa9a4a60 @uri=#<URI::GID gid://chatwoot/Conversation/38>>, "sm@testscript.nys"]}
2023-03-23T01:00:38.000Z I, [2023-03-23T01:00:38.722175 #11] INFO -- : [655d3bf6-38b4-411c-8131-089c27103815] Completed 200 OK in 24ms (ActiveRecord: 5.0ms | Allocations: 3426)
2023-03-23T01:00:38.000Z I, [2023-03-23T01:00:38.723517 #11] INFO -- : source=rack-timeout id=655d3bf6-38b4-411c-8131-089c27103815 timeout=15000ms service=31ms state=completed
2023-03-23T01:00:38.000Z I, [2023-03-23T01:00:38.727362 #12] INFO -- : [ActiveJob] [ActionMailer::MailDeliveryJob] [06617b85-88ae-4505-beb7-244a676f130a] Performing ActionMailer::MailDeliveryJob (Job ID: 06617b85-88ae-4505-beb7-244a676f130a) from Sidekiq(mailers) enqueued at 2023-03-23T01:00:38Z with arguments: "ConversationReplyMailer", "conversation_transcript", "deliver_now", {:params=>{:account=>#<GlobalID:0x00007f87351ccb40 @uri=#<URI::GID gid://chatwoot/Account/1>>}, :args=>[#<GlobalID:0x00007f87351cc618 @uri=#<URI::GID gid://chatwoot/Conversation/38>>, "sm@testscript.nys"]}
2023-03-23T01:00:38.000Z I, [2023-03-23T01:00:38.764880 #12] INFO -- : [ActiveJob] [ActionMailer::MailDeliveryJob] [06617b85-88ae-4505-beb7-244a676f130a] Rendered mailers/conversation_reply_mailer/conversation_transcript.html.erb within layouts/mailer/base (Duration: 8.4ms | Allocations: 960)
2023-03-23T01:00:38.000Z I, [2023-03-23T01:00:38.771291 #12] INFO -- : [ActiveJob] [ActionMailer::MailDeliveryJob] [06617b85-88ae-4505-beb7-244a676f130a] Rendered layout layouts/mailer/base.liquid (Duration: 14.9ms | Allocations: 1693)
2023-03-23T01:00:38.000Z I, [2023-03-23T01:00:38.949978 #12] INFO -- : [ActiveJob] [ActionMailer::MailDeliveryJob] [06617b85-88ae-4505-beb7-244a676f130a] Delivered mail 641ba4b6bcc4f_c20f4456279@95608d00-cc49-481f-bd84-d230007cbf64.mail (177.4ms)
2023-03-23T01:00:38.000Z E, [2023-03-23T01:00:38.950462 #12] ERROR -- : [ActiveJob] [ActionMailer::MailDeliveryJob] [06617b85-88ae-4505-beb7-244a676f130a] Error performing ActionMailer::MailDeliveryJob (Job ID: 06617b85-88ae-4505-beb7-244a676f130a) from Sidekiq(mailers) in 222.72ms: Net::SMTPFatalError (550 Authenticated user livechat@xyz.com cannot send mail as chatsupport.app@xyz.com
2023-03-23T01:00:38.000Z
-
I tried this now and it works for me.
@sufian-mughal said in Chatwoot unable to send Chat Transcript:
2023-03-23T01:00:38.000Z E, [2023-03-23T01:00:38.950462 #12] ERROR -- : [ActiveJob] [ActionMailer::MailDeliveryJob] [06617b85-88ae-4505-beb7-244a676f130a] Error performing ActionMailer::MailDeliveryJob (Job ID: 06617b85-88ae-4505-beb7-244a676f130a) from Sidekiq(mailers) in 222.72ms: Net::SMTPFatalError (550 Authenticated user livechat@xyz.com cannot send mail as chatsupport.app@xyz.com
I suspect what is happenning here is that you changed the email settings of chatwoot to have the from address as
livechat@xyz.com
? Maybe you set this in a variable in/app/data/env
? Email address is managed from the Cloudron dashboard. You should set this in https://docs.cloudron.io/apps/#mail-from-address instead. It should work after that. -
Hi Please see attached its on default. Thanks