Discourse connects to the SMTP server but fails to send email through it

You might look at the mail server logs. Whatever error it is isn’t sometime that v Discourse-doctor understands.