Advertisement
Guest User

Untitled

a guest
Feb 15th, 2017
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. {"error":{"type":"Swift_TransportException","message":"Expected response code 250 but got code "535", with message "535-5.7.8 Username and Password not accepted. Learn more atrn535 5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 y70sm14744455qgd.3 - gsmtprn"","file":"/var/www/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php","line":386}}
  2.  
  3. return array(
  4. 'driver' => 'smtp',
  5. 'host' => 'smtp.gmail.com',
  6. 'port' => 465,
  7. 'from' => array('address' => 'mymail@gmail.com', 'name' => 'myname'),
  8. 'encryption' => 'ssl',
  9. 'username' => 'mymail@gmail.com',
  10. 'password' => 'lol',
  11. 'sendmail' => '/usr/sbin/sendmail -bs',
  12. 'pretend' => false,
  13. );
  14.  
  15. MAIL_USERNAME= 'App Name you created'
  16. MAIL_PASSWORD= 'Generated Password for that app'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement