Warning: Undefined array key "mobile_dir" in /home/kagla/new-sir/old/common.php on line 315
메일인증 메일주소 변경 기능 끌수 있나요?

메일인증 메일주소 변경 기능 끌수 있나요?

메일인증 메일주소 변경 기능 끌수 있나요?

QA

메일인증 메일주소 변경 기능 끌수 있나요?

답변 1

본문

스팸업자가 메일주소변경 기능 이용해서 기존에 허용한 메일 도메인 우회해서 가입하는거같아서요

아니면 메일인증 메일주소 변경 페이지에도 특정 이메일만 입력하게 설정할수 있을까요 .. ? 

 

3035066804_1737728673.68.jpg

3035066804_1737728677.3536.jpg

이 질문에 댓글 쓰기 :

답변 1

gpt로 해결했습니다.

 

<?php
// ... (previous code remains unchanged)

if ($_SERVER['REQUEST_METHOD'] === 'POST') {
    // Get the submitted email
    $new_email = isset($_POST['mb_email']) ? trim($_POST['mb_email']) : '';

    // Validate the email domain
    if (!preg_match('/\.com$|\.com$/', $new_email)) {
        alert("허용된 이메일 도메인은 .com 또는 .com 입니다.", G5_URL);
    }

    // Proceed with the rest of the email update logic here
    // ...
}

// ... (rest of the code remains unchanged)
?>
 

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