SMTP settings to send email using Django

I tried Brevo and gmail. Brevo I am having authentication error. When I use gmail it’s running forever. In both cases the task previous to sending the mails is executed successfully. I am sending mail after signup. Any help please.

If you are using the default SMTP backend, the settings are listed at Settings | Django documentation | Django, and also identified at Sending email | Django documentation | Django

The sendtestemail command is very useful for testing and diagnosing issues.

You might also want to read Sending email in Django using GMail - Software Crafts

Beyond that, if you’re having problems please post the settings you are using, except for your password.