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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,246
13년 전 조회 1,757
13년 전 조회 698
13년 전 조회 3,026
13년 전 조회 737
13년 전 조회 943
13년 전 조회 732
13년 전 조회 1,106
13년 전 조회 1,048
13년 전 조회 1,308
13년 전 조회 832
13년 전 조회 1,893
13년 전 조회 1,532
13년 전 조회 1,122
13년 전 조회 6,813
13년 전 조회 722
13년 전 조회 1,088
13년 전 조회 916
13년 전 조회 1,081
13년 전 조회 1,355
13년 전 조회 957
13년 전 조회 1,216
13년 전 조회 792
13년 전 조회 821
13년 전 조회 1,348
13년 전 조회 3,225
13년 전 조회 772
13년 전 조회 2,207
13년 전 조회 986
13년 전 조회 883
13년 전 조회 1,777
13년 전 조회 1,707
13년 전 조회 714
13년 전 조회 1,622
13년 전 조회 2,041
13년 전 조회 1,456
13년 전 조회 709
13년 전 조회 2,117
13년 전 조회 924
13년 전 조회 701
13년 전 조회 664
13년 전 조회 1,387
13년 전 조회 1,780
13년 전 조회 1,243
13년 전 조회 731
13년 전 조회 875
13년 전 조회 1,355
13년 전 조회 1,312
13년 전 조회 651
13년 전 조회 3,444
13년 전 조회 1,308
13년 전 조회 4,469
13년 전 조회 876
13년 전 조회 1,872
13년 전 조회 950
13년 전 조회 859
13년 전 조회 1,761
13년 전 조회 727
13년 전 조회 1,697
13년 전 조회 787
13년 전 조회 1,566
13년 전 조회 1,097
13년 전 조회 4,157
13년 전 조회 2,154
13년 전 조회 975
13년 전 조회 804
13년 전 조회 1,366
13년 전 조회 998
13년 전 조회 1,125
13년 전 조회 2,216
13년 전 조회 876
13년 전 조회 2,928
13년 전 조회 2,921
13년 전 조회 1,184
13년 전 조회 883
13년 전 조회 2,407
13년 전 조회 1,009
13년 전 조회 1,263
13년 전 조회 789
13년 전 조회 1,909
13년 전 조회 1,210
13년 전 조회 1,264
13년 전 조회 1,591
13년 전 조회 700
13년 전 조회 3,774
13년 전 조회 1,031
13년 전 조회 1,902
13년 전 조회 1,399
13년 전 조회 772
13년 전 조회 4,750
13년 전 조회 621
13년 전 조회 2,742
13년 전 조회 1,087
13년 전 조회 753
13년 전 조회 1,125
13년 전 조회 7,900
13년 전 조회 1,062
13년 전 조회 2,154
13년 전 조회 1,599
13년 전 조회 1,141
🐛 버그신고