영카트5 메일 질문합니다.
CCTB
11년 전
조회 11,304
Warning: fsockopen(): unable to connect to 127.0.0.1:25 (Connection refused) in /home/ekhoserver50/www/plugin/PHPMailer_v2.0.4/class.smtp.php on line 122
인증메일 부분에서 이런 에러가 떠서 문의했었습니다.
관리자님의 답변은
config.php 의
define('G5_SMTP', '127.0.0.1') 를
define('G5_SMTP', ''); 이거였는데
현재
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/ekhoserver50/www/plugin/PHPMailer_v2.0.4/class.smtp.php on line 122 Warning: fsockopen(): unable to connect to :25 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/ekhoserver50/www/plugin/PHPMailer_v2.0.4/class.smtp.php on line 122
이런 에러가 뜹니다..
사실 호스팅받은 메일서버, 계정도 있지만 설정을 하지 못한상태입니다.
어느경로 어느부분을 설정해줘야 할까요?
호스팅 주소는 여기구요
ekhoserver.woobi.co.kr
메일 계정은 ekh0285입니다.
웹메일 주소는 http://webmail.woobi.co.kr/" target="_blank">http://webmail.woobi.co.kr/ 입니다.
설정좀 도와주세요 ㅠㅠ
댓글을 작성하려면 로그인이 필요합니다.
답변 2개
리자
Expert
11년 전
config.php 를
define('G5_SMTP', '');
lib/mailer.lib.php 를
if (defined('G5_SMTP') && G5_SMTP) {
$mail->IsSMTP(); // telling the class to use SMTP
$mail->Host = G5_SMTP; // SMTP server
}
와 같이 수정해 보시기 바랍니다.
로그인 후 평가할 수 있습니다
답변에 대한 댓글 1개
C
CCTB
11년 전
댓글을 작성하려면 로그인이 필요합니다.
리자
Expert
11년 전
lib/mailer.lib.php 를
if (defined('G5_SMTP')) {
$mail->IsSMTP(); // telling the class to use SMTP
$mail->Host = G5_SMTP; // SMTP server
} else {
$mail->IsMail();
}
이런 코드로 수정해 보시기 바랍니다.
로그인 후 평가할 수 있습니다
답변에 대한 댓글 3개
C
CCTB
11년 전
답변 감사합니다. 그런데 따로 메일서버, 메일계정 설정은 안해줘도 되는건가요??
�
관리자
11년 전
네 일단 수정후 다시 테스트 해주시기 바랍니다.
C
CCTB
11년 전
테스트를 해보았습니다. 하지만
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/ekhoserver50/www/plugin/PHPMailer_v2.0.4/class.smtp.php on line 122 Warning: fsockopen(): unable to connect to :25 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/ekhoserver50/www/plugin/PHPMailer_v2.0.4/class.smtp.php on line 122
에러를 뿜어버립니다... 지속된 질문 죄송합니다..
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/ekhoserver50/www/plugin/PHPMailer_v2.0.4/class.smtp.php on line 122 Warning: fsockopen(): unable to connect to :25 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/ekhoserver50/www/plugin/PHPMailer_v2.0.4/class.smtp.php on line 122
에러를 뿜어버립니다... 지속된 질문 죄송합니다..
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인
정말 감사합니다 관리자님 좋은하루되세요^