<?php
//ayarlar
return array(
'driver' => 'smtp',
'host' => 'smtp.gmail.com',
'port' => 465,
'from' => array('address' => 'mevlutustaoglu@gmail.com', 'name' => 'Mevlüt'),
'encryption' => 'ssl',
'username' => 'mevlutustaoglu@gmail.com',
'password' => 'şifrem',
'sendmail' => '/usr/sbin/sendmail -bs',
'pretend' => false,
);
//controller
\Mail::send('Ui.Contact.send',array('data'=>$data),function($send){
$send->to('iletisim@mevlutustaoglu.com','Nedflex')->subject('İletişim maili');
});
//aldığım hata
Failed to authenticate on SMTP server with username "mevlutustaoglu@gmail.com" using 2 possible authenticators
Sorun nereden kaynaklanıyor ola bilir?
bu arada
port işin
587 de denedim
encryption için
tls denedim