I have successfully sent messages in all my laravel projects to localhost with mailtrap. After testing Task Scheduling I got this error message:
fwrite (): send of 122 bytes failed with errno = 10054 An existing connection was forcibly closed by the remote host
i can't resolve this problem !!!!!!!!!!!!!!
MAIL_DRIVER=smtp MAIL_HOST=smtp.mailtrap.io MAIL_PORT=2525 MAIL_USERNAME=****** MAIL_PASSWORD=****** MAIL_ENCRYPTION=null
SMTP=smtp.mailtrap.io smtp_port=2525 sendmail_from = [email protected] sendmail_path = ""C:\xampp\sendmail\sendmail.exe" -t"