bazı hosting şirketleri, mail gönderttiğiniz mail hesabının site ile aynı olmasını şart koşar misal asdd.com ise domain
noreply@asdd.com olmalıdır, farklı bir adresten göndermeniz için 127.0.0.1 adresini tanımlamalı portu da 587 yapmalısınız.
$mail->Host = "127.0.0.1"; $mail->Port = 587;
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
console'da şöyle bir hata geliyor bu sefer de.