[HELP] email doesn't get sent with gmail smtp

Posted 4 years ago by almazik

Hi everyone.

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 kz7sm4622758lac.10 - gsmtp "

my app/config.mail.php looks like this:

'driver' => 'smtp', 'host' => '', 'port' => 587, 'from' => array('address' => '', 'name' => 'Andrew Malinkoff'), 'encryption' => 'tls', 'username' => '', 'password' => 'my pass', 'sendmail' => '/usr/sbin/sendmail -bs', 'pretend' => false,

Any thoughts?

credentials are correct, I tried to use different ones several times

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.