How to solve authentication error in sendmail relay through gmail [closed]

Solution 1:

Do you have the correct (gmail) username and password settings in client-info? If yes, is sendmail able to read this file? Have you built your new sendmail.cf after editing sendmail.mc? Have you restarted sendmail afterwards?