I used Windows 10’s WSL2 to install Docker and deployed my own Discourse application.I modified the SMTP configuration items in discourse/config/discourse_defaults.conf, and re-ran d/boot_dev -p, d/rails s, and d/ember-cli, but the email still cannot be sent. I have no way of determining where the problem lies.Should I configure SMTP in discourse/config/discourse_defaults.conf? I used d/mailhog to test, but the bash just kept repeating “[APIv1] KEEPALIVE api/v1/events”.Is there a convenient and obvious way to verify the validity of my SMTP configuration?
IIRC if you are using a development environment, you don’t need to set up an SMTP username and password.
Also:
That seems normal, since I also see that in my development environment’s console when running mailhog
.
You’ll have to open port (I think) 8025 to view the mailhog page. There, you can see the emails sent.
1 Like