I followed this post to setup doctor multisites.
but how to configure different smtp email settings for different sites?
I followed this post to setup doctor multisites.
but how to configure different smtp email settings for different sites?
I tried this as well and couldn’t get the second site to use different settings from the first site.
Perhaps @sam could offer an opinion, if this is a known bug or something else.
We don’t support multiple outgoing SMTP servers in multisite
Thanks for the answer. Is this something you would consider given a pull request? Does it make sense to invest time in?
Sure, if you can pull it off, its pretty complicated, but I would be open to have a PR for it and would kind of prefer if email settings were in site settings as long as they can be shadowed by globals.
Ciao @sam,
Ci sarebbe la possibilitĂ di ottenere dei finanziamenti se implementassi questa funzionalitĂ ? Stiamo attualmente cercando di ottenere una sovvenzione MVP dal nostro governo (https://www.nsw.gov.au/grants-and-funding/mvp-ventures-program) e qualsiasi finanziamento tu fornisca potremmo ottenere dal governo un abbinamento di 1$ per 1$, il che sarebbe fantastico
.
Saluti,
Simon
Puoi specificare in dettaglio tutte le modifiche proposte?
Ciao @sam,
In realtà mi sono appena reso conto che se scelgo di non impostare la seguente variabile d’ambiente:
DISCOURSE_NOTIFICATION_EMAIL
All’interno di app.yml, allora il seguente elemento di configurazione appare nelle impostazioni:
E posso usarlo per ottenere esattamente l’effetto che desideravo.
Grazie @sam per essere stato aperto alla possibilitĂ di questo
, ma sembra che questa volta non avrò bisogno di una PR.
Massimo / migliore:
DISCOURSE_SMTP_ADDRESSDISCOURSE_SMTP_PORTDISCOURSE_SMTP_USER_NAMEDISCOURSE_SMTP_PASSWORDDISCOURSE_SMTP_ENABLE_START_TLSDISCOURSE_SMTP_DOMAINMinimo:
DISCOURSE_SMTP_USER_NAMEDISCOURSE_SMTP_PASSWORDnei loro equivalenti config/multisite.yml
Contesto per il minimo: non avendo altre scelte posso configurare le cose per convivere con un server SMTP ma sicuramente ho bisogno di utenti SMTP separati (mittenti). L’invio di email da un indirizzo in un dominio diverso da quello su cui è in esecuzione il sito discourse sembra purtroppo un ostacolo insormontabile.