Merhabalar öncelikle forumda yeniyim doğru yere açmadımsa konuyu yönlendirilirse sevinirim. Wordpress tabanlı web sitem var mail smtp ayarlarını yapılandırmaya çalışıyorum ancak hata ile karşılaşıyorum. Paylaşımlı hosting kullandığım için google G Suite kaydı gerçekleştirdim yani mx ayarları google sunucularında mailler spama düşmesin diye bunu yaptım. Normal mail atınca sorunum yok çalışıyor ancak smtp ayarlarını site üzerinden yapınca gmail smtp şeklinde eklenti kurdum tüm ayarlamaları yaptım fakat test maili atarken aşağıda paylaşacağım hatayı alıyorum. NOT: ilk ayarladığımda mail gitti ancak sonrasında hata vermeye başladı. 3 gündür çözemedim yardımlarınızı bekliyorum.
SMTP raporu
Alıntı
2017-10-26 15:32:12 Connection: opening to smtp.gmail.com:587, timeout=300, options=array ()
2017-10-26 15:32:12 Connection: opened
2017-10-26 15:32:12 SMTP -> get_lines(): $data is ""
2017-10-26 15:32:12 SMTP -> get_lines(): $str is "220-cpanel7.ozkula.com ESMTP Exim 4.89 #1 Thu, 26 Oct 2017 18:32:12 +0300 "
2017-10-26 15:32:12 SMTP -> get_lines(): $data is "220-cpanel7.ozkula.com ESMTP Exim 4.89 #1 Thu, 26 Oct 2017 18:32:12 +0300 "
2017-10-26 15:32:12 SMTP -> get_lines(): $str is "220-We do not authorize the use of this system to transport unsolicited, "
2017-10-26 15:32:12 SMTP -> get_lines(): $data is "220-cpanel7.ozkula.com ESMTP Exim 4.89 #1 Thu, 26 Oct 2017 18:32:12 +0300 220-We do not authorize the use of this system to transport unsolicited, "
2017-10-26 15:32:12 SMTP -> get_lines(): $str is "220 and/or bulk e-mail."
2017-10-26 15:32:12 SERVER -> CLIENT: 220-cpanel7.ozkula.com ESMTP Exim 4.89 #1 Thu, 26 Oct 2017 18:32:12 +0300 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
2017-10-26 15:32:12 CLIENT -> SERVER: EHLO nefesorganik.com
2017-10-26 15:32:12 SMTP -> get_lines(): $data is ""
2017-10-26 15:32:12 SMTP -> get_lines(): $str is "250-cpanel7.ozkula.com Hello nefesorganik.com [37.247.111.40]"
2017-10-26 15:32:12 SMTP -> get_lines(): $data is "250-cpanel7.ozkula.com Hello nefesorganik.com [37.247.111.40]"
2017-10-26 15:32:12 SMTP -> get_lines(): $str is "250-SIZE 52428800"
2017-10-26 15:32:12 SMTP -> get_lines(): $data is "250-cpanel7.ozkula.com Hello nefesorganik.com [37.247.111.40]250-SIZE 52428800"
2017-10-26 15:32:12 SMTP -> get_lines(): $str is "250-8BITMIME"
2017-10-26 15:32:12 SMTP -> get_lines(): $data is "250-cpanel7.ozkula.com Hello nefesorganik.com [37.247.111.40]250-SIZE 52428800250-8BITMIME"
2017-10-26 15:32:12 SMTP -> get_lines(): $str is "250-PIPELINING"
2017-10-26 15:32:12 SMTP -> get_lines(): $data is "250-cpanel7.ozkula.com Hello nefesorganik.com [37.247.111.40]250-SIZE 52428800250-8BITMIME250-PIPELINING"
2017-10-26 15:32:12 SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN"
2017-10-26 15:32:12 SMTP -> get_lines(): $data is "250-cpanel7.ozkula.com Hello nefesorganik.com [37.247.111.40]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN"
2017-10-26 15:32:12 SMTP -> get_lines(): $str is "250-STARTTLS"
2017-10-26 15:32:12 SMTP -> get_lines(): $data is "250-cpanel7.ozkula.com Hello nefesorganik.com [37.247.111.40]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250-STARTTLS"
2017-10-26 15:32:12 SMTP -> get_lines(): $str is "250 HELP"
2017-10-26 15:32:12 SERVER -> CLIENT: 250-cpanel7.ozkula.com Hello nefesorganik.com [37.247.111.40]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250-STARTTLS250 HELP
2017-10-26 15:32:12 CLIENT -> SERVER: STARTTLS
2017-10-26 15:32:12 SMTP -> get_lines(): $data is ""
2017-10-26 15:32:12 SMTP -> get_lines(): $str is "220 TLS go ahead"
2017-10-26 15:32:12 SERVER -> CLIENT: 220 TLS go ahead
2017-10-26 15:32:12 Connection failed. Error #2: stream_socket_enable_crypto(): Peer certificate CN=`cpanel7.ozkula.com' did not match expected CN=`smtp.gmail.com' [/home/nefesorg/public_html/wp-content/plugins/gmail-smtp/PHPMailer/class.smtp.php line 370]
SMTP Error: Could not connect to SMTP host.
2017-10-26 15:32:12 CLIENT -> SERVER: QUIT
2017-10-26 15:32:12 SMTP -> get_lines(): $data is ""
2017-10-26 15:32:12 SMTP -> get_lines(): $str is "221 cpanel7.ozkula.com closing connection"
2017-10-26 15:32:12 SERVER -> CLIENT: 221 cpanel7.ozkula.com closing connection
2017-10-26 15:32:12 Connection: closed
SMTP connect() failed. https://github.com/PHPMailer/PHPMail...roubleshooting