I'm trying to send email from my application but getting the following error:
Expected response code 250 but got code "535", with message "535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 kz7sm4622758lac.10 - gsmtp "
my app/config.mail.php looks like this:
'driver' => 'smtp', 'host' => 'smtp.gmail.com', 'port' => 587, 'from' => array('address' => 'email@example.com', 'name' => 'Andrew Malinkoff'), 'encryption' => 'tls', 'username' => 'firstname.lastname@example.org', 'password' => 'my pass', 'sendmail' => '/usr/sbin/sendmail -bs', 'pretend' => false,
credentials are correct, I tried to use different ones several times