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

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

QA

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

답변 1

그누보드5(영카트) 버전

5.5.9

본문

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

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

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

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

 

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

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

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 (HELOwww.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: *** 개인정보보호를 위한 이메일주소 노출방지 ***
From: =?UTF-8?B?6rWs64+E7Jyk?=
Subject: =?UTF-8?B?W0tD7J24642U7Iqk7Yq466as7Ja8XSDqsqzsoIHrrLjsnZgg6rKM7Iuc7YyQ?=
=?UTF-8?B?7JeQIOyeheugpeq4gOydtCDsmKzrnbzsmZTsirXri4jri6Qu?=
Message-ID: <72804af3183d5f9bd487f11ebc8f6b62www.biz.com<-(해당웹메일)>
X-Mailer: PHPMailer 5.2.28 (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


핸드폰

*** 개인정보보호를 위한 휴대폰번호 노출방지 ***


이메일

 

*** 개인정보보호를 위한 이메일주소 노출방지 ***


문의내용

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




해당 게시물 확인하기


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

 

---

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

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

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

이 질문에 댓글 쓰기 :

답변 1

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

 

 

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}";
}

 

 

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 11
© SIRSOFT
현재 페이지 제일 처음으로