mehdee81 3 گزارش دادن ارسال شده در 7 بهمن Connection could not be established with host mailhog :stream_socket_client(): php_network_getaddresses: getaddrinfo failed: No such host is known. #-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- env. MAIL_MAILER=smtp MAIL_HOST=smtp.mailtrap.io MAIL_PORT=2525 MAIL_USERNAME=.............. MAIL_PASSWORD=............. MAIL_ENCRYPTION=tls MAIL_FROM_ADDRESS=info@Articles.com MAIL_FROM_NAME="${APP_NAME}" #-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- conifg/mail.php 'mailers' => [ 'smtp' => [ 'transport' => 'smtp', 'host' => env('MAIL_HOST', 'smtp.mailtrap.io'), 'port' => env('MAIL_PORT', 2525), 'encryption' => env('MAIL_ENCRYPTION', 'tls'), 'username' => env('MAIL_USERNAME','...................'), 'password' => env('MAIL_PASSWORD','...................'), 'timeout' => null, 'auth_mode' => null, ], نقل قول Share this post Link to post Share on other sites
mehdee81 3 گزارش دادن ارسال شده در 7 بهمن 'from' => [ 'address' => env('MAIL_FROM_ADDRESS', 'info@Articles.com'), 'name' => env('MAIL_FROM_NAME', 'Email verificatio'), ], نقل قول Share this post Link to post Share on other sites
saber 93 گزارش دادن ارسال شده در 7 بهمن توی لوکال خطا دارید؟ دستورات زیر رو اجرا کنید و بعدش هم سیستم لوکال رو یه بار ریست کنید بعدش دوباره ارسال رو تست کنید php artisan cache:clear php artisan config:clear 1 نقل قول Share this post Link to post Share on other sites
mehdee81 3 گزارش دادن ارسال شده در 7 بهمن استاد ممنون کلا کامپیوتر رو ریست کردم بعد از اون کد ها درست شد نقل قول Share this post Link to post Share on other sites