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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,219
13년 전 조회 1,729
13년 전 조회 675
13년 전 조회 2,999
13년 전 조회 710
13년 전 조회 909
13년 전 조회 698
13년 전 조회 1,078
13년 전 조회 1,019
13년 전 조회 1,280
13년 전 조회 805
13년 전 조회 1,870
13년 전 조회 1,500
13년 전 조회 1,090
13년 전 조회 6,771
13년 전 조회 687
13년 전 조회 1,052
13년 전 조회 895
13년 전 조회 1,044
13년 전 조회 1,331
13년 전 조회 921
13년 전 조회 1,187
13년 전 조회 765
13년 전 조회 793
13년 전 조회 1,313
13년 전 조회 3,177
13년 전 조회 744
13년 전 조회 2,176
13년 전 조회 950
13년 전 조회 850
13년 전 조회 1,745
13년 전 조회 1,674
13년 전 조회 682
13년 전 조회 1,589
13년 전 조회 2,012
13년 전 조회 1,421
13년 전 조회 671
13년 전 조회 2,087
13년 전 조회 888
13년 전 조회 667
13년 전 조회 638
13년 전 조회 1,358
13년 전 조회 1,734
13년 전 조회 1,213
13년 전 조회 703
13년 전 조회 835
13년 전 조회 1,324
13년 전 조회 1,281
13년 전 조회 616
13년 전 조회 3,416
13년 전 조회 1,272
13년 전 조회 4,441
13년 전 조회 846
13년 전 조회 1,836
13년 전 조회 923
13년 전 조회 817
13년 전 조회 1,725
13년 전 조회 694
13년 전 조회 1,666
13년 전 조회 751
13년 전 조회 1,540
13년 전 조회 1,063
13년 전 조회 4,123
13년 전 조회 2,118
13년 전 조회 939
13년 전 조회 767
13년 전 조회 1,324
13년 전 조회 967
13년 전 조회 1,097
13년 전 조회 2,189
13년 전 조회 840
13년 전 조회 2,901
13년 전 조회 2,887
13년 전 조회 1,146
13년 전 조회 843
13년 전 조회 2,381
13년 전 조회 970
13년 전 조회 1,227
13년 전 조회 755
13년 전 조회 1,875
13년 전 조회 1,170
13년 전 조회 1,222
13년 전 조회 1,574
13년 전 조회 664
13년 전 조회 3,742
13년 전 조회 992
13년 전 조회 1,866
13년 전 조회 1,366
13년 전 조회 737
13년 전 조회 4,720
13년 전 조회 585
13년 전 조회 2,709
13년 전 조회 1,047
13년 전 조회 720
13년 전 조회 1,093
13년 전 조회 7,863
13년 전 조회 1,037
13년 전 조회 2,120
13년 전 조회 1,566
13년 전 조회 1,108
🐛 버그신고