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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,159
13년 전 조회 1,675
13년 전 조회 610
13년 전 조회 2,940
13년 전 조회 645
13년 전 조회 836
13년 전 조회 632
13년 전 조회 1,008
13년 전 조회 950
13년 전 조회 1,215
13년 전 조회 737
13년 전 조회 1,807
13년 전 조회 1,445
13년 전 조회 1,035
13년 전 조회 6,713
13년 전 조회 632
13년 전 조회 1,003
13년 전 조회 842
13년 전 조회 985
13년 전 조회 1,269
13년 전 조회 862
13년 전 조회 1,121
13년 전 조회 712
13년 전 조회 732
13년 전 조회 1,258
13년 전 조회 3,119
13년 전 조회 689
13년 전 조회 2,114
13년 전 조회 891
13년 전 조회 794
13년 전 조회 1,686
13년 전 조회 1,609
13년 전 조회 625
13년 전 조회 1,529
13년 전 조회 1,959
13년 전 조회 1,355
13년 전 조회 615
13년 전 조회 2,025
13년 전 조회 826
13년 전 조회 606
13년 전 조회 576
13년 전 조회 1,299
13년 전 조회 1,680
13년 전 조회 1,148
13년 전 조회 636
13년 전 조회 777
13년 전 조회 1,270
13년 전 조회 1,224
13년 전 조회 557
13년 전 조회 3,362
13년 전 조회 1,221
13년 전 조회 4,390
13년 전 조회 790
13년 전 조회 1,777
13년 전 조회 845
13년 전 조회 759
13년 전 조회 1,661
13년 전 조회 638
13년 전 조회 1,600
13년 전 조회 700
13년 전 조회 1,484
13년 전 조회 1,009
13년 전 조회 4,062
13년 전 조회 2,057
13년 전 조회 884
13년 전 조회 702
13년 전 조회 1,278
13년 전 조회 904
13년 전 조회 1,037
13년 전 조회 2,131
13년 전 조회 780
13년 전 조회 2,836
13년 전 조회 2,827
13년 전 조회 1,095
13년 전 조회 793
13년 전 조회 2,333
13년 전 조회 910
13년 전 조회 1,168
13년 전 조회 698
13년 전 조회 1,822
13년 전 조회 1,116
13년 전 조회 1,171
13년 전 조회 1,519
13년 전 조회 617
13년 전 조회 3,685
13년 전 조회 927
13년 전 조회 1,808
13년 전 조회 1,304
13년 전 조회 681
13년 전 조회 4,662
13년 전 조회 536
13년 전 조회 2,651
13년 전 조회 1,000
13년 전 조회 669
13년 전 조회 1,039
13년 전 조회 7,804
13년 전 조회 985
13년 전 조회 2,074
13년 전 조회 1,518
13년 전 조회 1,050
🐛 버그신고