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

My guess is a mismatch between your forum host name and the domain name that the mail server will send for.