Chatwoot/spec/mailers
Sony Mathew 7ca192615d
Chore: Move some email configs to ENV variables (#1064)
For the outgoing emails which has dependency on the incoming
part as well like the conversation continuity part, some of the
config variables used were entirely based on the account attributes.

But this is not true in case of self hosted situations where you have
multiple accounts and have a common config for incoming emails.

So moved out some of the attributes entirely dependednt on the account
to ENV with a fallback to the Global config.

Also, with this changes the name of the agent will be shown in the
email clinet with in the conversation rather than just the support
email address. This has a huge UX impact on the cutomer.

Modified all the necessary unit tests to reflect these changes.

Updated the .env.example file for the new ENV variable.
2020-07-19 15:35:55 +05:30
..
agent_notifications Feature: User Notification Objects (#752) 2020-05-01 14:53:43 +05:30
.keep Fix url in emails, add frontendURL helper (#19) 2019-08-25 19:59:28 +05:30
confirmation_instructions_spec.rb Feature: Ability to switch between multiple accounts (#881) 2020-05-26 22:38:48 +05:30
conversation_reply_mailer_spec.rb Chore: Move some email configs to ENV variables (#1064) 2020-07-19 15:35:55 +05:30