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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,149
13년 전 조회 1,662
13년 전 조회 599
13년 전 조회 2,930
13년 전 조회 633
13년 전 조회 824
13년 전 조회 623
13년 전 조회 1,002
13년 전 조회 942
13년 전 조회 1,208
13년 전 조회 724
13년 전 조회 1,797
13년 전 조회 1,434
13년 전 조회 1,025
13년 전 조회 6,703
13년 전 조회 617
13년 전 조회 994
13년 전 조회 840
13년 전 조회 981
13년 전 조회 1,253
13년 전 조회 849
13년 전 조회 1,112
13년 전 조회 702
13년 전 조회 724
13년 전 조회 1,244
13년 전 조회 3,103
13년 전 조회 679
13년 전 조회 2,105
13년 전 조회 881
13년 전 조회 784
13년 전 조회 1,675
13년 전 조회 1,601
13년 전 조회 618
13년 전 조회 1,515
13년 전 조회 1,948
13년 전 조회 1,347
13년 전 조회 607
13년 전 조회 2,013
13년 전 조회 817
13년 전 조회 599
13년 전 조회 567
13년 전 조회 1,291
13년 전 조회 1,670
13년 전 조회 1,140
13년 전 조회 628
13년 전 조회 769
13년 전 조회 1,264
13년 전 조회 1,215
13년 전 조회 549
13년 전 조회 3,353
13년 전 조회 1,210
13년 전 조회 4,380
13년 전 조회 784
13년 전 조회 1,769
13년 전 조회 832
13년 전 조회 745
13년 전 조회 1,653
13년 전 조회 626
13년 전 조회 1,592
13년 전 조회 693
13년 전 조회 1,477
13년 전 조회 998
13년 전 조회 4,051
13년 전 조회 2,047
13년 전 조회 875
13년 전 조회 691
13년 전 조회 1,264
13년 전 조회 892
13년 전 조회 1,030
13년 전 조회 2,119
13년 전 조회 769
13년 전 조회 2,826
13년 전 조회 2,817
13년 전 조회 1,087
13년 전 조회 787
13년 전 조회 2,327
13년 전 조회 901
13년 전 조회 1,154
13년 전 조회 689
13년 전 조회 1,814
13년 전 조회 1,103
13년 전 조회 1,161
13년 전 조회 1,512
13년 전 조회 606
13년 전 조회 3,674
13년 전 조회 915
13년 전 조회 1,800
13년 전 조회 1,296
13년 전 조회 666
13년 전 조회 4,657
13년 전 조회 525
13년 전 조회 2,640
13년 전 조회 991
13년 전 조회 661
13년 전 조회 1,024
13년 전 조회 7,797
13년 전 조회 983
13년 전 조회 2,069
13년 전 조회 1,510
13년 전 조회 1,038
🐛 버그신고