dmmktz
September 10, 2024, 10:04am
1
I’m running into the same problem as described at this post, Unable to verify via email so blocked from using self-hosted local test instance
Difference is there is nothing on http://localhost:4000/dev/mailbox to use for verification.
Seems there are no additional steps needed besides clicking the " Send verification link" to get this working according to the topic linked above.
Am I missing something or is there another work around?
Hey @dmmktz ,
How have you got your Lightning server running?
The /dev/mailbox
endpoint is only available when MIX_ENV=dev
. It’s worth noting that the prebuilt Docker images have MIX_ENV
set to prod
. If you’re using docker, you’ll want to use Dockerfile-dev
instead
dmmktz
September 16, 2024, 6:51am
3
Thank you so much @midigofrank .
@dmmktz What options are available for using email in a self-hosted production environment with OpenFn?
1 Like
Hey @saurajthapa at the moment, we only support Mailgun and SMTP.
You can refer to the deployment docs on how to configure them: lightning/DEPLOYMENT.md at main · OpenFn/lightning · GitHub