From 07bd1f724b0a168892e28c86ff5c31ed14dc8452 Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Mon, 2 May 2022 15:26:47 +0800 Subject: [PATCH] sendMail verify peer false --- app/Repositories/ToolRepository.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Repositories/ToolRepository.php b/app/Repositories/ToolRepository.php index 72724c5d..9d1641c1 100644 --- a/app/Repositories/ToolRepository.php +++ b/app/Repositories/ToolRepository.php @@ -187,7 +187,8 @@ class ToolRepository extends BaseRepository $smtp['smtpaddress'], $smtp['accountname'] ?? null, $smtp['accountpassword'] ?? null, - $smtp['smtpport'] ?? null + $smtp['smtpport'] ?? null, + ['verify_peer' => false] )); // Create the Mailer using your created Transport