Email verification with PHPMailer

Please has someone been able to implement an email verification with PHPMailer or any other library. If yes, I need assistance.

I’m here also as we can not use Gmail as in the documentation. From: Less secure apps & your Google Account - Google Account Help
“To help keep your account secure, from May 30, 2022, ​​Google no longer supports the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password.”

– Fred (PHP 8.1.6 - Windows NT 10.0 Firefox 103.0.2 XAMPP 8.1.6)