Can send emails through Gmail account only if account has “Access for less secure apps” enabled
问题 If my Gmail account has Access for less secure apps disabled , then my application can't send emails through this account . Instead I get " The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required " exception. Here Google explains that by disabling Access for less secure apps , only apps that use modern security standards can sign in . What are those modern security standards my code needs to implement and can you