Help with Email Settings for Server

Hi Team Speckle

I recently updated our server to the latest version. Previously I was using SendGrid as the email provider and all worked fine. We are hosted on Digital Ocean.

I’m not sure what has changed but now when I tried to “docker compose up” after the server upgrade, i received errors telling me the email configuration was wrong. Commenting out the email settings meant the server now runs but obviously now with no email.

The logs provided the following insight:
Email provider is enabled but transport has not been initialized correctly. Please review the email configuration or your email system for problems.
{“code”:“MISCONFIGURED_ENVIRONMENT_ERROR”,“statusCode”:424}

Very willing to accept the problem exists between keyboard and chair… but any tips much welcome.

Hi @jjsolly

This is likely due to DigitalOcean’s change in policy; they have blocked SMTP ports. More details here: Why is SMTP blocked? | DigitalOcean Documentation (NB, their recommended “solution” won’t work for Speckle).

It’s likely that emails haven’t been sending for a few weeks, but it has only been noticeable when restarting the server during the update (Speckle’s application checks email connectivity on startup).

You could try to request an exemption via DigitalOcean’s support team.

Iain

Ah, this makes total sense. Thanks for the answer @iainsproat!