메일테스트 에러 문제

메일테스트 에러 문제

QA

메일테스트 에러 문제

본문

메일테스트를 해보니 아래와 같이 에러가 납니다.

 

호스팅은 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

 

31815851_1585443531.713.png

이 질문에 댓글 쓰기 :

답변 4

admin@지메일 이렇게 말고 본인 메일로는 해보셨어요? 

25포트 쓰지말고 저 같은경우는 ssl 사용되는걸 쓰거든요 왠만한건 싹다 막아놓았는데 smtp가 된거 456포트로해서 해봐요 아이디랑 비번도 써주시고 네이버나 다음으로 연동하면되요

25번 포트가 열려있는지 호스팅사에 문의하세요!

21 – This is the default FTP port.

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번 포트가 안 열려 있으면 메일링이 불가능한건가요?

저도 자세히는 모르겠지만, 일전에 25번 포트를 개방하여 해결하였습니다.

25번 포트가 불법스팸메일때문에 막아놨다라고 하더라구요!

호스팅사에 직접 문의해보시면 좋을것같습니다!

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로 변경하면 정상적으로 작동하더군요.

이 부분을 범용으로 변경하여 사용하는 것이 좋은 방법인지 몰라 이슈로 제안드립니다.

답변을 작성하시기 전에 로그인 해주세요.
전체 123,127 | RSS
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT