gmail yaptım
try {
//Server settings
$mail->SMTPDebug = 2; // SMTP hata ayıklama // 0 = mesaj göstermez (testler bittikten sonra kullanılmalıdır) // 1 = sadece mesaj gösterir // 2 = hata ve mesaj gösterir
$mail->isSMTP();
$mail->SMTPAuth = true; // SMTP doğrulamayı etkinleştirir
$mail->Username = 'antucb@gmail.com'; // SMTP kullanıcı adı (gönderici adresi)
$mail->Password = 'ucb1501012'; // SMTP şifre
$mail->Host = 'smtp.gmail.com'; // Mail sunucusunun adresi
$mail->Port = 587; // Normal bağlantı için 587, güvenli bağlantı için 465 yazın
$mail->SMTPSecure = 'tls'; // Enable TLS encryption, '' , 'ssl' , 'tls'

$mail->SetLanguage('tr', 'PHPMailer/language/');
$mail->CharSet = 'UTF-8';

ama hata aynı çıkyor yine
2021-05-02 11:32:16 SERVER -> CLIENT:
2021-05-02 11:32:16 CLIENT -> SERVER: EHLO webisleri.web.tr
2021-05-02 11:32:16 SERVER -> CLIENT:
2021-05-02 11:32:16 SMTP ERROR: EHLO command failed:
2021-05-02 11:32:16 CLIENT -> SERVER: HELO webisleri.web.tr
2021-05-02 11:32:16 SERVER -> CLIENT:
2021-05-02 11:32:16 SMTP ERROR: HELO command failed:
2021-05-02 11:32:16 CLIENT -> SERVER: STARTTLS
2021-05-02 11:32:16 SERVER -> CLIENT:
2021-05-02 11:32:16 SMTP ERROR: STARTTLS command failed:
SMTP Hatası: SMTP sunucusuna bağlanılamadı.
2021-05-02 11:32:16 CLIENT -> SERVER: QUIT
2021-05-02 11:32:16 SERVER -> CLIENT:
2021-05-02 11:32:16 SMTP ERROR: QUIT command failed:
SMTP Hatası: SMTP sunucusuna bağlanılamadı.
Message could not be sent. Mailer Error: SMTP Hatası: SMTP sunucusuna bağlanılamadı.