提问前请务必仔细阅读 如何排查故障 和 常见问题。
问题描述:
安装和访问等功能都没问题了,但是在尝试注册之后需要邮箱验证这里点击发送验证邮箱,更换邮箱,更改密码点击"发送重置密码邮件"等情况就会提示以下报错内容
报错内容:
Oops! Something went wrong. Please reload the page and try again.
调试模式报错内容:
POST https://lt.rnmcnm.com/api/users/2/send-confirmation
Swift_RfcComplianceException: Address in mailbox given [lt.rnmcnm.com] does not comply with RFC 2822, 3.6.2. in /www/wwwroot/lt.rnmcnm.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php:355
Stack trace:
#0 /www/wwwroot/lt.rnmcnm.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php(272): Swift_Mime_Headers_MailboxHeader->assertValidAddress()
#1 /www/wwwroot/lt.rnmcnm.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php(117): Swift_Mime_Headers_MailboxHeader->normalizeMailboxes()
#2 /www/wwwroot/lt.rnmcnm.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php(74): Swift_Mime_Headers_MailboxHeader->setNameAddresses()
#3 /www/wwwroot/lt.rnmcnm.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleMimeEntity.php(600): Swift_Mime_Headers_MailboxHeader->setFieldBodyModel()
#4 /www/wwwroot/lt.rnmcnm.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleMessage.php(213): Swift_Mime_SimpleMimeEntity->setHeaderFieldModel()
#5 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/mail/Message.php(50): Swift_Mime_SimpleMessage->setFrom()
#6 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/mail/Mailer.php(493): Illuminate\Mail\Message->from()
#7 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/mail/Mailer.php(266): Illuminate\Mail\Mailer->createMessage()
#8 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/mail/Mailer.php(212): Illuminate\Mail\Mailer->send()
#9 /www/wwwroot/lt.rnmcnm.com/vendor/flarum/core/src/Mail/Job/SendRawEmailJob.php(34): Illuminate\Mail\Mailer->raw()
#10 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/container/BoundMethod.php(36): Flarum\Mail\Job\SendRawEmailJob->handle()
#11 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container{closure}()
#12 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#13 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod()
#14 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/container/Container.php(653): Illuminate\Container\BoundMethod::call()
#15 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/bus/Dispatcher.php(128): Illuminate\Container\Container->call()
#16 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus{closure}()
#17 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#18 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
#19 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/queue/CallQueuedHandler.php(120): Illuminate\Bus\Dispatcher->dispatchNow()
#20 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue{closure}()
#21 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#22 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/queue/CallQueuedHandler.php(122): Illuminate\Pipeline\Pipeline->then()
#23 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/queue/CallQueuedHandler.php(70): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware()
#24 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/queue/Jobs/Job.php(98): Illuminate\Queue\CallQueuedHandler->call()
#25 /www/wwwroot/lt.rnmcnm.com/vendor/illuminate/queue/SyncQueue.php(43): Illuminate\Queue\Jobs\Job->fire()
#26 /www/wwwroot/lt.rnmcnm.com/vendor/flarum/core/src/User/AccountActivationMailerTrait.php(54): Illuminate\Queue\SyncQueue->push()
#27 /www/wwwroot/lt.rnmcnm.com/vendor/flarum/core/src/Api/Controller/SendConfirmationEmailController.php(80): Flarum\Api\Controller\SendConfirmationEmailController->sendConfirmationEmail()
#28 /www/wwwroot/lt.rnmcnm.com/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\SendConfirmationEmailController->handle()
#29 /www/wwwroot/lt.rnmcnm.com/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http{closure}()
#30 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ExecuteRoute->process()
#31 /www/wwwroot/lt.rnmcnm.com/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
#32 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Api\Middleware\ThrottleApi->process()
#33 /www/wwwroot/lt.rnmcnm.com/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle()
#34 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\CheckCsrfToken->process()
#35 /www/wwwroot/lt.rnmcnm.com/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(67): Laminas\Stratigility\Next->handle()
#36 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ResolveRoute->process()
#37 /www/wwwroot/lt.rnmcnm.com/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
#38 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\SetLocale->process()
#39 /www/wwwroot/lt.rnmcnm.com/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle()
#40 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\AuthenticateWithHeader->process()
#41 /www/wwwroot/lt.rnmcnm.com/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
#42 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\AuthenticateWithSession->process()
#43 /www/wwwroot/lt.rnmcnm.com/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
#44 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\RememberFromCookie->process()
#45 /www/wwwroot/lt.rnmcnm.com/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
#46 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\StartSession->process()
#47 /www/wwwroot/lt.rnmcnm.com/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
#48 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Api\Middleware\FakeHttpMethods->process()
#49 /www/wwwroot/lt.rnmcnm.com/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
#50 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ParseJsonBody->process()
#51 /www/wwwroot/lt.rnmcnm.com/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
#52 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\HandleErrors->process()
#53 /www/wwwroot/lt.rnmcnm.com/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
#54 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\InjectActorReference->process()
#55 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle()
#56 /www/wwwroot/lt.rnmcnm.com/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
#57 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\RequestHandler->process()
#58 /www/wwwroot/lt.rnmcnm.com/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle()
#59 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\BasePathRouter->process()
#60 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
#61 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/Next.php(51): Laminas\Stratigility\Middleware\OriginalMessages->process()
#62 /www/wwwroot/lt.rnmcnm.com/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
#63 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\BasePath->process()
#64 /www/wwwroot/lt.rnmcnm.com/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
#65 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ProcessIp->process()
#66 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle()
#67 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(65): Laminas\Stratigility\MiddlewarePipe->process()
#68 /www/wwwroot/lt.rnmcnm.com/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle()
#69 /www/wwwroot/lt.rnmcnm.com/vendor/flarum/core/src/Http/Server.php(44): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#70 /www/wwwroot/lt.rnmcnm.com/public/index.php(26): Flarum\Http\Server->listen()
#71 {main}
已尝试的解决办法:
尝试了更换php版本并查看了禁用函数等,以确定发信邮箱信息无误