I was getting a SSMTP authentication failure 535 5.7.8 error on an Ubuntu Linux web server when trying to send password reset emails from a site that was hosted on it. I had to do a couple things, including enabling access from "less secure apps".
https://thetalkinggeek.com
https://www.podbean.com/thetalkinggeek