Gmail Error :The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required
When you try to send mail from code and you find the error “The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required”, than the error might occur due to following cases. case 1: when the password is wrong case 2: when you try to … Read more