mailParam' on field 'to': rejected value [hongcyu@qq,com]; codes
看下你发的日志,邮箱错的哦
2020-12-02 12:15:19.572 ERROR 31117 --- [qtp53940034-839] r.h.app.core.ControllerExceptionHandler : Captured an exception: [Validation failed for argument [0] in public run.halo.app.model.support.BaseResponse<java.lang.String> run.halo.app.controller.admin.api.MailController.testMail(run.halo.app.model.params.MailParam): [Field error in object 'mailParam' on field 'to': rejected value [hongcyu@qq,com]; codes [Email.mailParam.to,Email.to,Email.java.lang.String,Email]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [mailParam.to,to]; arguments []; default message [to],[Ljavax.validation.constraints.Pattern$Flag;@10c03cc1,.*]; default message [邮箱格式错误]] ]
2020-12-02 12:16:42.847 WARN 31117 --- [qtp53940034-9] org.eclipse.jetty.server.HttpChannel : /system/options