Can’t receive emails when I try to register

AI-generated summary

Mattia is experiencing issues receiving registration emails on their Discourse instance hosted on DigitalOcean. Despite using Mailjet as the email provider and configuring SMTP settings (server: in-v3.mailjet.com, port: 587, username: APIKey, password: Secret key), test emails fail with an error indicating possible mail server misconfiguration or host blocking. The dashboard reports 4 failed email jobs, prompting a review of app.yml — which appears correct. Mattia also tried alternative SMTP settings provided by their hosting provider (register.it), including port 465 and server authsmtp.securemail.pro, but the issue persists. They’re seeking help to resolve the email delivery problem without switching away from Mailjet, suspecting domain-level restrictions may be interfering.

Hello there,

I have created an instance on Digitalocean, the forum works! But when I try to register, I don’t get the email! I use Mailjet as sender and Internet domain name registration at Register.it | Domain hosting as host.

I used the following command to log in as admin without confirming the email:

rake admin:create

I tried to do an email test and I get this error…

There was a problem sending the test email. Please double-check your mail settings, verify that your host is not blocking mail connections, and try again.

also my dashboard shows:

Some problems have been found with your installation of Discourse:

There are 4 email jobs that failed. Check your app.yml and ensure that the mail server settings are correct. See the failed jobs in Sidekiq

I’ve checked my app.yml, everything seems to be in order…

SMTP server address: [in-v3.mailjet.com]
SMTP user name: APIKey
SMTP port: 587
SMTP password: Secret key

Also, checking through the various support documents… I also found this…

OUTGOING MAIL:
Username / Email: xxx@xxx.xx or smtp@site.xx
Password: my password
Port: 465
Server Name: authsmtp.securemail.pro

I have tried to redo a configuration with the data offered by the hosting company and nothing has changed…

Any idea how I can solve this? :confused: I don’t want the domain not allowing to send emails via mailjet