이메일 한글 깨짐 처리입니다.

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 15포인트 부족한데, 추천좀 부탁드릴께요.. 추천하시는 분들 복받으실 겁니다.
 

function send_mail($to_email,$from_email,$form_name,$subject,$mybody,$type) {
        //$charset='EUC-KR';
        $charset='UTF-8';
        if( $charset !='UTF-8' )
                $encoded_body = iconv('UTF-8', $charset, str_replace("UTF-8", $charset, $mybody));
        else
                $encoded_body = $mybody;
        $from = "\"=?".$charset."?B?".base64_encode($form_name)."?=\" <".$from_email.">" ; // 인코딩된 보내
는이
        $encoded_subject = "=?".$charset."?B?".base64_encode($subject)."?=\n";
        $headers = "MIME-Version: 1.0\r\n";
        $header .= "Content-Type: text/html;charset=$charset;format=flowed\n";
        $header .= "Content-Transfer-Encoding: 8bit\n";
        $header .= "From: $from\n";
        $header .= "Return-Path: $from\n";
        $mybody = stripslashes($mybody);
  @mail($to_email, $encoded_subject,$encoded_body,$header);
|

댓글 1개

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

프로그램

+
제목 글쓴이 날짜 조회
13년 전 조회 1,244
13년 전 조회 1,756
13년 전 조회 696
13년 전 조회 3,025
13년 전 조회 735
13년 전 조회 941
13년 전 조회 729
13년 전 조회 1,103
13년 전 조회 1,046
13년 전 조회 1,306
13년 전 조회 831
13년 전 조회 1,893
13년 전 조회 1,530
13년 전 조회 1,120
13년 전 조회 6,811
13년 전 조회 720
13년 전 조회 1,085
13년 전 조회 913
13년 전 조회 1,080
13년 전 조회 1,355
13년 전 조회 957
13년 전 조회 1,214
13년 전 조회 791
13년 전 조회 819
13년 전 조회 1,347
13년 전 조회 3,224
13년 전 조회 772
13년 전 조회 2,206
13년 전 조회 984
13년 전 조회 881
13년 전 조회 1,774
13년 전 조회 1,707
13년 전 조회 712
13년 전 조회 1,622
13년 전 조회 2,041
13년 전 조회 1,455
13년 전 조회 709
13년 전 조회 2,114
13년 전 조회 921
13년 전 조회 699
13년 전 조회 661
13년 전 조회 1,384
13년 전 조회 1,778
13년 전 조회 1,240
13년 전 조회 728
13년 전 조회 872
13년 전 조회 1,352
13년 전 조회 1,307
13년 전 조회 649
13년 전 조회 3,440
13년 전 조회 1,305
13년 전 조회 4,468
13년 전 조회 875
13년 전 조회 1,870
13년 전 조회 948
13년 전 조회 857
13년 전 조회 1,759
13년 전 조회 724
13년 전 조회 1,695
13년 전 조회 784
13년 전 조회 1,564
13년 전 조회 1,096
13년 전 조회 4,154
13년 전 조회 2,153
13년 전 조회 972
13년 전 조회 802
13년 전 조회 1,364
13년 전 조회 996
13년 전 조회 1,125
13년 전 조회 2,214
13년 전 조회 872
13년 전 조회 2,927
13년 전 조회 2,921
13년 전 조회 1,179
13년 전 조회 881
13년 전 조회 2,406
13년 전 조회 1,007
13년 전 조회 1,261
13년 전 조회 785
13년 전 조회 1,907
13년 전 조회 1,208
13년 전 조회 1,262
13년 전 조회 1,590
13년 전 조회 697
13년 전 조회 3,771
13년 전 조회 1,030
13년 전 조회 1,901
13년 전 조회 1,396
13년 전 조회 772
13년 전 조회 4,749
13년 전 조회 619
13년 전 조회 2,741
13년 전 조회 1,082
13년 전 조회 749
13년 전 조회 1,124
13년 전 조회 7,896
13년 전 조회 1,061
13년 전 조회 2,153
13년 전 조회 1,595
13년 전 조회 1,140
🐛 버그신고