테스트 사이트 - 개발 중인 베타 버전입니다

게시판 메일이 그룹웨어 메일에서 오류로 나옵니다.

itb 7개월 전 조회 2,358

게시판에 글을 올리면 관리자 메일로 글이올라왔다는 메일이 가도록 설정해놓았습니다.

그런데 해당업체에서 메일이 이런식으로 온다고하네요..

내용은 있지만 제목도 영문으로 오류라는 식으로 나옵니다.

메일은 오는데 그 제목과 내용이 이상하게 나올경우 어디를 수정하면 될까요?

 

아래 메일 내용 보내드립니다.

------------------------------------------------------------------------------

Hi. This is the qmail-send program at uws8-wpm-078.cafe24.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

:
52.231.184.122 does not like recipient.
Remote host said: 550 relay denied
Giving up on 52.231.184.122.

--- Below this line is a copy of the message.

Return-Path:
Received: (qmail 29755 invoked by uid 508); 24 Mar 2025 13:20:57 +0900
Received: from unknown (HELOhttps://www.biz456.com/" rel="noopener noreferrer" target="_blank">www.biz456.com) (127.0.0.1)
by cafe24.com (knetqmail v1.06) with SMTP;
24 Mar 2025 13:20:57 +0900
Date: Mon, 24 Mar 2025 13:20:56 +0900
To: sales@biz456.com
From: =?UTF-8?B?6rWs64+E7Jyk?=
Subject: =?UTF-8?B?W0tD7J24642U7Iqk7Yq466as7Ja8XSDqsqzsoIHrrLjsnZgg6rKM7Iuc7YyQ?=
=?UTF-8?B?7JeQIOyeheugpeq4gOydtCDsmKzrnbzsmZTsirXri4jri6Qu?=
Message-ID: <72804af3183d5f9bd487f11ebc8f6b62https://www.biz.com/" rel="noopener noreferrer" target="_blank">www.biz.com<-(해당웹메일)>
X-Mailer: PHPMailer 5.2.28 (https://github.com/PHPMailer/PHPMailer" rel="noopener noreferrer" target="_blank">https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_72804af3183d5f9bd487f11ebc8f6b62"
Content-Transfer-Encoding: 8bit

This is a multi-part message in MIME format.

--b1_72804af3183d5f9bd487f11ebc8f6b62
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

A/S 문의가 접수되었습니다.
작성자 홍길동



성명

test


회사명

test


핸드폰

010-1234-1234


이메일

 

hibiz456@naver.com


문의내용

홈페이지 메일 발송 테스트입니다.




해당 게시물 확인하기


--b1_72804af3183d5f9bd487f11ebc8f6b62
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

 

---

biz456.com은 회사계정보안때문에 제가 임의로 작성한 것이고,

현재 저 페이지는 잘돌아가는 상황입니다.

고수님들 의견부탁드려요~

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

7개월 전

인코딩 부터 하나씩 보는건 어떨까요?

 

 

use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;

$mail = new PHPMailer(true);
try {
    // 문자 인코딩 설정
    $mail->CharSet = 'UTF-8';
    $mail->Encoding = 'base64';

    // 기타 설정들...
    $mail->setFrom('보내는이메일@example.com', '보내는이름');
    $mail->addAddress('받는이메일@example.com');
    
    // 명확한 제목 설정
    $mail->Subject = 'A/S 문의 접수';
    
    // 메일 본문 설정
    $mail->Body = 'A/S 문의가 접수되었습니다. 작성자: 홍길동';

    $mail->send();
} catch (Exception $e) {
    echo "메일 전송 실패: {$mail->ErrorInfo}";
}

 

 

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

i
itb
7개월 전
제가 퍼블이라 개발부분을 모르는데 어떻게 보나요..? 그누보드 기본 mailer를 사용하고있는데요?

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인