When I send an email with the PHP Swift mailer to this server: smtp.exchange.example.com like this:
// Load transport $this->transport = Swift_SmtpTra
I tried almost all the possible suggestions mention here but for me problem got solved after changing "Access for less secure apps" to ENABLE in my Google account security settings tab. Hope this might useful for others !