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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,142
13년 전 조회 1,653
가나다라마바사아자차카타파하
13년 전 조회 588
13년 전 조회 2,919
13년 전 조회 625
13년 전 조회 815
13년 전 조회 614
13년 전 조회 992
13년 전 조회 935
13년 전 조회 1,199
13년 전 조회 721
13년 전 조회 1,787
13년 전 조회 1,425
13년 전 조회 1,015
13년 전 조회 6,695
13년 전 조회 612
13년 전 조회 985
13년 전 조회 836
13년 전 조회 969
13년 전 조회 1,242
13년 전 조회 842
13년 전 조회 1,105
13년 전 조회 694
13년 전 조회 711
13년 전 조회 1,236
13년 전 조회 3,097
13년 전 조회 674
13년 전 조회 2,098
13년 전 조회 870
13년 전 조회 777
13년 전 조회 1,663
13년 전 조회 1,592
13년 전 조회 612
13년 전 조회 1,507
13년 전 조회 1,939
13년 전 조회 1,337
13년 전 조회 599
13년 전 조회 2,006
13년 전 조회 810
가나다라마바사아자차카타파하
13년 전 조회 587
13년 전 조회 559
13년 전 조회 1,285
13년 전 조회 1,662
13년 전 조회 1,131
13년 전 조회 624
13년 전 조회 760
13년 전 조회 1,256
13년 전 조회 1,207
가나다라마바사아자차카타파하
13년 전 조회 542
13년 전 조회 3,347
13년 전 조회 1,200
13년 전 조회 4,370
13년 전 조회 777
13년 전 조회 1,759
13년 전 조회 822
13년 전 조회 734
13년 전 조회 1,646
13년 전 조회 611
13년 전 조회 1,582
13년 전 조회 687
13년 전 조회 1,466
13년 전 조회 991
13년 전 조회 4,040
13년 전 조회 2,038
13년 전 조회 866
13년 전 조회 683
13년 전 조회 1,256
13년 전 조회 886
13년 전 조회 1,023
13년 전 조회 2,112
13년 전 조회 761
13년 전 조회 2,816
13년 전 조회 2,806
13년 전 조회 1,080
13년 전 조회 777
13년 전 조회 2,322
13년 전 조회 895
13년 전 조회 1,146
13년 전 조회 681
13년 전 조회 1,804
가나다라마바사아자차카타파하
13년 전 조회 1,093
13년 전 조회 1,153
13년 전 조회 1,504
13년 전 조회 598
13년 전 조회 3,667
13년 전 조회 907
13년 전 조회 1,793
13년 전 조회 1,289
13년 전 조회 660
13년 전 조회 4,648
13년 전 조회 518
13년 전 조회 2,634
13년 전 조회 986
13년 전 조회 649
13년 전 조회 1,018
13년 전 조회 7,789
13년 전 조회 977
13년 전 조회 2,063
13년 전 조회 1,504
13년 전 조회 1,030
🐛 버그신고