i want config mail on laravel 5.2, i have a hosting mail with hostinger.com.
how i can configure mail parameters on laravel??
i put this on the .env file:
MAIL_DRIVER=smtp
MAIL_HOST=mx1.hostinger.co
MAIL_PORT=2525
MAIL_USERNAME=reset-password@litraen.com
MAIL_PASSWORD=******
MAIL_ENCRYPTION=null
but when i try send email, show this error:
Swift_TransportException in AuthHandler.php line 181:
Failed to authenticate on SMTP server with username "reset-password@litraen.com" using 2 possible authenticators
thanks.