也是提示我出错了,然后其实是注册了的,我开了debug,提示如下:
`POST http://www.yemanshidai.com/register
Swift_TransportException: Connection could not be established with host smtp.163.com :stream_socket_client(): unable to connect to ssl://smtp.163.com:46 (No route to host) in file /www/wwwroot/yeman/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php on line 269
Stack trace:
- Swift_TransportException->() /www/wwwroot/yeman/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:269
- Swift_Transport_StreamBuffer->{closure}() [internal]:0
- stream_socket_client() /www/wwwroot/yeman/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:272
- Swift_Transport_StreamBuffer->establishSocketConnection() /www/wwwroot/yeman/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:58
- Swift_Transport_StreamBuffer->initialize() /www/wwwroot/yeman/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:143
- Swift_Transport_AbstractSmtpTransport->start() /www/wwwroot/yeman/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php:65
- Swift_Mailer->send() /www/wwwroot/yeman/vendor/illuminate/mail/Mailer.php:483
- Illuminate\Mail\Mailer->sendSwiftMessage() /www/wwwroot/yeman/vendor/illuminate/mail/Mailer.php:259
- Illuminate\Mail\Mailer->send() /www/wwwroot/yeman/vendor/illuminate/mail/Mailer.php:183
- Illuminate\Mail\Mailer->raw() /www/wwwroot/yeman/vendor/flarum/core/src/Mail/Job/SendRawEmailJob.php:34
- Flarum\Mail\Job\SendRawEmailJob->handle() /www/wwwroot/yeman/vendor/illuminate/container/BoundMethod.php:29
- call_user_func_array() /www/wwwroot/yeman/vendor/illuminate/container/BoundMethod.php:29
- Illuminate\Container\BoundMethod->Illuminate\Container{closure}() /www/wwwroot/yeman/vendor/illuminate/container/BoundMethod.php:87
- Illuminate\Container\BoundMethod->callBoundMethod() /www/wwwroot/yeman/vendor/illuminate/container/BoundMethod.php:31
- Illuminate\Container\BoundMethod->call() /www/wwwroot/yeman/vendor/illuminate/container/Container.php:572
- Illuminate\Container\Container->call() /www/wwwroot/yeman/vendor/illuminate/bus/Dispatcher.php:94
- Illuminate\Bus\Dispatcher->Illuminate\Bus{closure}() /www/wwwroot/yeman/vendor/illuminate/pipeline/Pipeline.php:128
- Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() /www/wwwroot/yeman/vendor/illuminate/pipeline/Pipeline.php:104
- Illuminate\Pipeline\Pipeline->then() /www/wwwroot/yeman/vendor/illuminate/bus/Dispatcher.php:98
- Illuminate\Bus\Dispatcher->dispatchNow() /www/wwwroot/yeman/vendor/illuminate/queue/CallQueuedHandler.php:49
- Illuminate\Queue\CallQueuedHandler->call() /www/wwwroot/yeman/vendor/illuminate/queue/Jobs/Job.php:83
- Illuminate\Queue\Jobs\Job->fire() /www/wwwroot/yeman/vendor/illuminate/queue/SyncQueue.php:42
- Illuminate\Queue\SyncQueue->push() /www/wwwroot/yeman/vendor/flarum/core/src/User/AccountActivationMailer.php:68
- Flarum\User\AccountActivationMailer->handle() /www/wwwroot/yeman/vendor/illuminate/events/Dispatcher.php:379
- call_user_func_array() /www/wwwroot/yeman/vendor/illuminate/events/Dispatcher.php:379
- Illuminate\Events\Dispatcher->Illuminate\Events{closure}() /www/wwwroot/yeman/vendor/illuminate/events/Dispatcher.php:209
- Illuminate\Events\Dispatcher->dispatch() /www/wwwroot/yeman/vendor/flarum/core/src/Foundation/DispatchEventsTrait.php:33
- Flarum\User\Command\RegisterUserHandler->dispatchEventsFor() /www/wwwroot/yeman/vendor/flarum/core/src/User/Command/RegisterUserHandler.php:114
- Flarum\User\Command\RegisterUserHandler->handle() /www/wwwroot/yeman/vendor/illuminate/bus/Dispatcher.php:90
- Illuminate\Bus\Dispatcher->Illuminate\Bus{closure}() /www/wwwroot/yeman/vendor/illuminate/pipeline/Pipeline.php:128
- Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() /www/wwwroot/yeman/vendor/illuminate/pipeline/Pipeline.php:104
- Illuminate\Pipeline\Pipeline->then() /www/wwwroot/yeman/vendor/illuminate/bus/Dispatcher.php:98
- Illuminate\Bus\Dispatcher->dispatchNow() /www/wwwroot/yeman/vendor/illuminate/bus/Dispatcher.php:76
- Illuminate\Bus\Dispatcher->dispatch() /www/wwwroot/yeman/vendor/flarum/core/src/Api/Controller/CreateUserController.php:45
- Flarum\Api\Controller\CreateUserController->data() /www/wwwroot/yeman/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php:96
- Flarum\Api\Controller\AbstractSerializeController->handle() /www/wwwroot/yeman/vendor/flarum/core/src/Api/Controller/AbstractCreateController.php:22
- Flarum\Api\Controller\AbstractCreateController->handle() /www/wwwroot/yeman/vendor/flarum/core/src/Api/Client.php:72
- Flarum\Api\Client->send() /www/wwwroot/yeman/vendor/flarum/core/src/Forum/Controller/RegisterController.php:58
- Flarum\Forum\Controller\RegisterController->handle() /www/wwwroot/yeman/vendor/flarum/core/src/Http/RouteHandlerFactory.php:38
- Flarum\Http\RouteHandlerFactory->Flarum\Http{closure}() /www/wwwroot/yeman/vendor/flarum/core/src/Http/Middleware/DispatchRoute.php:65
- Flarum\Http\Middleware\DispatchRoute->process() /www/wwwroot/yeman/vendor/laminas/laminas-stratigility/src/Next.php:61
- Laminas\Stratigility\Next->handle() /www/wwwroot/yeman/vendor/flarum/core/src/Http/Middleware/ShareErrorsFromSession.php:57
- Flarum\Http\Middleware\ShareErrorsFromSession->process() /www/wwwroot/yeman/vendor/laminas/laminas-stratigility/src/Next.php:61
- Laminas\Stratigility\Next->handle() /www/wwwroot/yeman/vendor/flarum/core/src/Http/Middleware/SetLocale.php:50
- Flarum\Http\Middleware\SetLocale->process() /www/wwwroot/yeman/vendor/laminas/laminas-stratigility/src/Next.php:61
- Laminas\Stratigility\Next->handle() /www/wwwroot/yeman/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php:45
- Flarum\Http\Middleware\CheckCsrfToken->process() /www/wwwroot/yeman/vendor/laminas/laminas-stratigility/src/Next.php:61
- Laminas\Stratigility\Next->handle() /www/wwwroot/yeman/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php:32
- Flarum\Http\Middleware\AuthenticateWithSession->process() /www/wwwroot/yeman/vendor/laminas/laminas-stratigility/src/Next.php:61
- Laminas\Stratigility\Next->handle() /www/wwwroot/yeman/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php:51
- Flarum\Http\Middleware\RememberFromCookie->process() /www/wwwroot/yeman/vendor/laminas/laminas-stratigility/src/Next.php:61
- Laminas\Stratigility\Next->handle() /www/wwwroot/yeman/vendor/flarum/core/src/Http/Middleware/StartSession.php:61
- Flarum\Http\Middleware\StartSession->process() /www/wwwroot/yeman/vendor/laminas/laminas-stratigility/src/Next.php:61
- Laminas\Stratigility\Next->handle() /www/wwwroot/yeman/vendor/flarum/core/src/Http/Middleware/CollectGarbage.php:46
- Flarum\Http\Middleware\CollectGarbage->process() /www/wwwroot/yeman/vendor/laminas/laminas-stratigility/src/Next.php:61
- Laminas\Stratigility\Next->handle() /www/wwwroot/yeman/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php:28
- Flarum\Http\Middleware\ParseJsonBody->process() /www/wwwroot/yeman/vendor/laminas/laminas-stratigility/src/Next.php:61
- Laminas\Stratigility\Next->handle() /www/wwwroot/yeman/vendor/flarum/core/src/Http/Middleware/HandleErrors.php:57
- Flarum\Http\Middleware\HandleErrors->process() /www/wwwroot/yeman/vendor/laminas/laminas-stratigility/src/Next.php:61
- Laminas\Stratigility\Next->handle() /www/wwwroot/yeman/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php:84
- Laminas\Stratigility\MiddlewarePipe->process() /www/wwwroot/yeman/vendor/middlewares/request-handler/src/RequestHandler.php:84
- Middlewares\RequestHandler->process() /www/wwwroot/yeman/vendor/laminas/laminas-stratigility/src/Next.php:61
- Laminas\Stratigility\Next->handle() /www/wwwroot/yeman/vendor/middlewares/base-path-router/src/BasePathRouter.php:97
- Middlewares\BasePathRouter->process() /www/wwwroot/yeman/vendor/laminas/laminas-stratigility/src/Next.php:61
- Laminas\Stratigility\Next->handle() /www/wwwroot/yeman/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php:42
- Laminas\Stratigility\Middleware\OriginalMessages->process() /www/wwwroot/yeman/vendor/laminas/laminas-stratigility/src/Next.php:61
- Laminas\Stratigility\Next->handle() /www/wwwroot/yeman/vendor/middlewares/base-path/src/BasePath.php:53
- Middlewares\BasePath->process() /www/wwwroot/yeman/vendor/laminas/laminas-stratigility/src/Next.php:61
- Laminas\Stratigility\Next->handle() /www/wwwroot/yeman/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php:84
- Laminas\Stratigility\MiddlewarePipe->process() /www/wwwroot/yeman/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php:73
- Laminas\Stratigility\MiddlewarePipe->handle() /www/wwwroot/yeman/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php:96
- Laminas\HttpHandlerRunner\RequestHandlerRunner->run() /www/wwwroot/yeman/vendor/flarum/core/src/Http/Server.php:42
- Flarum\Http\Server->listen() /www/wwwroot/yeman/public/index.php:26
`