mardi 23 mai 2017

Laravel 5 send email throw proxy

My company's server is protected, so every request want to send outside must throw a proxy server. By that problem, Laravel mail class can't connect to smtp server to send the emails.

Is there anyway to config proxy for mail class such as

return [
   'http_proxy' => 'http://127.0.0.1:8080'
];

I've been searching days but not found any solution so I posted this question.

Any idea?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2rcmCU7
via IFTTT

Aucun commentaire:

Enregistrer un commentaire