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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,249
13년 전 조회 1,761
13년 전 조회 701
13년 전 조회 3,030
13년 전 조회 742
13년 전 조회 945
13년 전 조회 733
13년 전 조회 1,107
13년 전 조회 1,055
13년 전 조회 1,311
13년 전 조회 835
13년 전 조회 1,899
13년 전 조회 1,533
13년 전 조회 1,123
13년 전 조회 6,814
13년 전 조회 725
13년 전 조회 1,091
13년 전 조회 921
13년 전 조회 1,081
13년 전 조회 1,358
13년 전 조회 957
13년 전 조회 1,221
13년 전 조회 797
13년 전 조회 826
13년 전 조회 1,350
13년 전 조회 3,226
13년 전 조회 774
13년 전 조회 2,209
13년 전 조회 988
13년 전 조회 885
13년 전 조회 1,780
13년 전 조회 1,709
13년 전 조회 716
13년 전 조회 1,624
13년 전 조회 2,043
13년 전 조회 1,460
13년 전 조회 711
13년 전 조회 2,118
13년 전 조회 926
13년 전 조회 704
13년 전 조회 667
13년 전 조회 1,388
13년 전 조회 1,782
13년 전 조회 1,244
13년 전 조회 734
13년 전 조회 877
13년 전 조회 1,360
13년 전 조회 1,318
13년 전 조회 654
13년 전 조회 3,448
13년 전 조회 1,313
13년 전 조회 4,469
13년 전 조회 879
13년 전 조회 1,876
13년 전 조회 952
13년 전 조회 864
13년 전 조회 1,767
13년 전 조회 731
13년 전 조회 1,702
13년 전 조회 792
13년 전 조회 1,568
13년 전 조회 1,099
13년 전 조회 4,159
13년 전 조회 2,156
13년 전 조회 978
13년 전 조회 806
13년 전 조회 1,372
13년 전 조회 998
13년 전 조회 1,128
13년 전 조회 2,220
13년 전 조회 878
13년 전 조회 2,930
13년 전 조회 2,925
13년 전 조회 1,191
13년 전 조회 888
13년 전 조회 2,410
13년 전 조회 1,012
13년 전 조회 1,266
13년 전 조회 791
13년 전 조회 1,911
13년 전 조회 1,211
13년 전 조회 1,269
13년 전 조회 1,595
13년 전 조회 706
13년 전 조회 3,779
13년 전 조회 1,035
13년 전 조회 1,904
13년 전 조회 1,399
13년 전 조회 773
13년 전 조회 4,751
13년 전 조회 624
13년 전 조회 2,747
13년 전 조회 1,090
13년 전 조회 754
13년 전 조회 1,130
13년 전 조회 7,903
13년 전 조회 1,063
13년 전 조회 2,154
13년 전 조회 1,599
13년 전 조회 1,147