Here we share a small django management command that sends an email.
This command is useful because it will use the same email credentials the rest
of your django api is using to send emails. So you can use this as a sanity check
to see if your settings are correct.
To use this ssh into your api and run:
If your django api has working email smtp settings you should see a test email
at the receiving addresses.
In local development you can use something like mailhog
to preview the emails locally. It would look like this
If you need help solving your business problems with
software read how to hire me.