Custom SMTP Server settings?
-
Hi,
Has anyone successfully configured Cal.com app to use an external SMTP server (as opposed to the one from the cloudron instance it is running on) ?
I tried to set the following
.env
variables, but this does not seem to do the trick:EMAIL_FROM="test@test.com" EMAIL_FROM_NAME="test" EMAIL_SERVER_HOST="mail.example.com" EMAIL_SERVER_PORT="XXXX" EMAIL_SERVER_USER="username" EMAIL_SERVER_PASSWORD="password"
Any suggestions?
-
Hello @Neiluj
Currently, it is not possible to configure this yourself since this is overwritten on every app restart.
But I can convert this question into a feature request so we can update the cal app to make the mailing auto config optional.
Would you like me to do that? -
Hello @Neiluj
Currently, it is not possible to configure this yourself since this is overwritten on every app restart.
But I can convert this question into a feature request so we can update the cal app to make the mailing auto config optional.
Would you like me to do that? -
J james marked this topic as a question
-
Is there a reason to not configure a relay on Cloudron i.e https://docs.cloudron.io/email/#relay-outbound-mails ? Generally, we add the email optional flag only to apps that are sending out non-transactional email i.e mailers like mautic, listmonk etc.
-
Is there a reason to not configure a relay on Cloudron i.e https://docs.cloudron.io/email/#relay-outbound-mails ? Generally, we add the email optional flag only to apps that are sending out non-transactional email i.e mailers like mautic, listmonk etc.
@girish From my side, the main reason for this would be because the domain name the emails we would like the cal.com emails to be sent from is not part of the domain names that the related Cloudron server instance is configured to work with.
So as not to "pollute" our domain names records and complexify the management of these records.
Does it make sense?
-
@Neiluj I see. I guess we usually don't have situations where the app and email being sent out are on different domains. Something we have to think about, since this situation is not specific to just this app but for the full platform.
A workaround: add the other domain as manual provider in Cloudron (no DNS changes needed). Then, in email of that domain, setup a relay. You can then change the app's email in Email configuration section's dropdown .