500 5.5.1 Invalid command: Cannot send mail with Discourse on new install but can from command line (on digital ocean)

I have the same error. Do either of you remember what you did to fix it?