Hey there,

Mail configuration seems not to be a problem (especially when you are able to send email via command).

That 500 internal server error occurs in the JavaScript console (when using chrome, f12 is the shortcut to launch Web Developer Tools).

DigitalOcean support should be able to send you logs. You can also try enabling WP_DEBUG.