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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,139
13년 전 조회 1,652
가나다라마바사아자차카타파하
13년 전 조회 588
13년 전 조회 2,919
13년 전 조회 622
13년 전 조회 815
13년 전 조회 613
13년 전 조회 992
13년 전 조회 930
13년 전 조회 1,199
13년 전 조회 719
13년 전 조회 1,785
13년 전 조회 1,425
13년 전 조회 1,014
13년 전 조회 6,692
13년 전 조회 609
13년 전 조회 982
13년 전 조회 836
13년 전 조회 968
13년 전 조회 1,242
13년 전 조회 839
13년 전 조회 1,103
13년 전 조회 693
13년 전 조회 709
13년 전 조회 1,236
13년 전 조회 3,094
13년 전 조회 670
13년 전 조회 2,096
13년 전 조회 869
13년 전 조회 776
13년 전 조회 1,662
13년 전 조회 1,591
13년 전 조회 610
13년 전 조회 1,504
13년 전 조회 1,936
13년 전 조회 1,336
13년 전 조회 598
13년 전 조회 2,006
13년 전 조회 808
가나다라마바사아자차카타파하
13년 전 조회 586
13년 전 조회 557
13년 전 조회 1,284
13년 전 조회 1,662
13년 전 조회 1,129
13년 전 조회 621
13년 전 조회 759
13년 전 조회 1,256
13년 전 조회 1,206
가나다라마바사아자차카타파하
13년 전 조회 541
13년 전 조회 3,345
13년 전 조회 1,198
13년 전 조회 4,369
13년 전 조회 774
13년 전 조회 1,759
13년 전 조회 820
13년 전 조회 732
13년 전 조회 1,645
13년 전 조회 610
13년 전 조회 1,579
13년 전 조회 685
13년 전 조회 1,463
13년 전 조회 990
13년 전 조회 4,039
13년 전 조회 2,036
13년 전 조회 863
13년 전 조회 681
13년 전 조회 1,256
13년 전 조회 886
13년 전 조회 1,020
13년 전 조회 2,110
13년 전 조회 760
13년 전 조회 2,815
13년 전 조회 2,806
13년 전 조회 1,078
13년 전 조회 776
13년 전 조회 2,320
13년 전 조회 894
13년 전 조회 1,145
13년 전 조회 680
13년 전 조회 1,803
가나다라마바사아자차카타파하
13년 전 조회 1,093
13년 전 조회 1,151
13년 전 조회 1,502
13년 전 조회 596
13년 전 조회 3,665
13년 전 조회 907
13년 전 조회 1,789
13년 전 조회 1,289
13년 전 조회 658
13년 전 조회 4,646
13년 전 조회 515
13년 전 조회 2,632
13년 전 조회 986
13년 전 조회 646
13년 전 조회 1,016
13년 전 조회 7,786
13년 전 조회 976
13년 전 조회 2,061
13년 전 조회 1,503
13년 전 조회 1,028
🐛 버그신고