Individual mailbox (SMTP) data for outgoing e-mails
-
Hello! I would like to configure a custom mailbox for outgoing messages and notifications for Chatwoot. Unfortunately all my attempts have failed.
Chatwoot runs under the domain "chat.app.example.com", the mailbox should be "info@example.com". In Cloudron the domain "app.example.com" is created.
I have made the following attempts:
-
Changed the Cloudron settings for Chatwoot by creating the domain "example.com" in Cloudron and successfully deposited the mailbox "info@example.com" in the outgoing mail settings in Cloudron. Then customizing the Cloudron Chatwoot settings under "Email" by specifying "info" and "@example.com". Result: in the Cloudron Mailer Log the error message appears, "info@example.com" is not allowed to send as "chat.app@app.example.com". My configuration is not accepted even after restart.
-
Adjusting the "env" file based on https://www.chatwoot.com/docs/self-hosted/configuration/environment-variables or https://github.com/chatwoot/chatwoot/blob/develop/.env.example - the changes are not taken over either, the error message in the mail log is always there.
How can I store the desired mailbox in Chatwoot? Thanks in advance for your answer!
-
-
-
We have tested this now and, basically this is implemented just like in Freescout, where an inbox channel is really just like an IMAP and smtp client independent from Cloudron. So just create a new mailbox on Cloudron and setup this in Chatwoot. We also added some docs with screenshots to make this more obvious: https://docs.cloudron.io/apps/chatwoot/#email-inbox-configuration
-
Just to update on this, currently the email support in Chatwoot is not tested much, since it has changed a bit over the little time the package was initially made. We have to do a full round of testing with transactional and mailboxes as support channels in the app.
-
We have tested this now and, basically this is implemented just like in Freescout, where an inbox channel is really just like an IMAP and smtp client independent from Cloudron. So just create a new mailbox on Cloudron and setup this in Chatwoot. We also added some docs with screenshots to make this more obvious: https://docs.cloudron.io/apps/chatwoot/#email-inbox-configuration
-
-
I followed this guide and can partially confirm that it solves the problem. Emails to logged in users or agents are now handled and delivered correctly.
Unfortunately, the problem still exists for external users. When Chatwoot is embedded on the website, visitors can leave their email address before the conversation starts. This will additionally send replies to the visitor via email in case the visitor leaves the site in the meantime. These emails will still be sent from the wrong email address. This is clearly evident from the Cloudron email log.
As a result, the problem unfortunately persists. Is there a solution for this?
-
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 Let's follow up at https://forum.cloudron.io/topic/8828/chatwoot-unable-to-send-chat-transcript