Failed to send email. Reason: Invalid login: 535 Authentication failed

I’d have a look at this thread, particularly the recommendations to check with SWAKS and startTLS.