Support the ongoing development of Laravel.io →
Forms Mail
Last updated 2 years ago.
0

Your code is not wrong. What is the error? Wrong email config perhaps?

0

this is mail.php configuration

<?php

return array(

	'driver' => 'smtp',
	
	'host' => 'smtp.gmail.com',

	'port' => 587,

	'from' => array('address' => '[email protected]', 'name' => 'akram1rekik'),
	
	'encryption' => 'tls',	

	'username' => '[email protected]',

	'password' => '**********',
	
	'sendmail' => '/usr/sbin/sendmail -bs',

	
	'pretend' => false,

);
0

If you are getting any errors, the crucial part is to share one. Also, let me know if you get this error on your local server or remote.

Last updated 9 years ago.
0

Local Server (Xampp)

0

OK. Now read my previous post more carefully ;)

0

Thank you, It's ok now.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.