메일테스트를 해보니 아래와 같이 에러가 납니다.
호스팅은 Siteground 에서 했습니다.
이메일 계정에 문제는 딱히 없어보이고
그누보드 5.4 + 나리야 테마 상태이고
별다른 커스텀은 없었습니다.
어떤 것을 확인해보면 좋을 지 고수님들 조언 부탁드립니다.
Warning: stream_socket_enable_crypto(): Peer certificate CN=`*.sgcpanel.com' did not match expected CN=`127.0.0.1' in /home/aaaaa/public_html/plugin/PHPMailer/class.smtp.php on line 368

답변 4개 / 댓글 3개
https://github.com/gnuboard/gnuboard5/issues/61#issue-700148028
메일발송을 통해 아래와 같은 오류가 나오는 경우가 있습니다.
Warning: stream_socket_enable_crypto(): Peer certificate CN=server_name.domain.com' did not match expected CN=127.0.0.1' in /path/public_html/www/plugin/PHPMailer/class.smtp.php on line 368
위와 같은 현상이 발생시
plugin/PHPMailer/class.phpmailer.php 260라인
public $SMTPAutoTLS = true;
를 false로 변경하면 정상적으로 작동하더군요.
이 부분을 범용으로 변경하여 사용하는 것이 좋은 방법인지 몰라 이슈로 제안드립니다.
답변을 작성하려면 로그인이 필요합니다.
80 – This is the default HTTP port.
110 – This is the default POP3 port.
143 – This is the default IMAP port.
443 – This the default SSL port.
465 – This is the alternative secure SMTP port.
587 - This is a secure SMTP port.
993 – This is the IMAP port over TLS/SSL.
995 – This is the POP3 port over TLS/SSL.
2525 - This is the alternative SMTP port that our clients on shared servers can use to connect.
3306 – This is the default MySQL port.
5432 – This is the default PostgreSQL port.
30000 – This port is used by the Canada post shipping module, which is available for scripts like osCommerce and CreLoaded. The module establishes connection to the IP 66.110.6.131.
상기 포트만 열려있는 상태이고
25번 포트가 안 열려 있으면 메일링이 불가능한건가요?