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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,654
가나다라마바사아자차카타파하
13년 전 조회 589
13년 전 조회 2,921
13년 전 조회 626
13년 전 조회 818
13년 전 조회 618
13년 전 조회 995
13년 전 조회 938
13년 전 조회 1,200
13년 전 조회 721
13년 전 조회 1,791
13년 전 조회 1,426
13년 전 조회 1,016
13년 전 조회 6,695
13년 전 조회 612
13년 전 조회 986
13년 전 조회 836
13년 전 조회 971
13년 전 조회 1,243
13년 전 조회 842
13년 전 조회 1,107
13년 전 조회 696
13년 전 조회 715
13년 전 조회 1,238
13년 전 조회 3,097
13년 전 조회 674
13년 전 조회 2,098
13년 전 조회 872
13년 전 조회 778
13년 전 조회 1,665
13년 전 조회 1,593
13년 전 조회 612
13년 전 조회 1,508
13년 전 조회 1,939
13년 전 조회 1,337
13년 전 조회 602
13년 전 조회 2,007
13년 전 조회 810
가나다라마바사아자차카타파하
13년 전 조회 588
13년 전 조회 562
13년 전 조회 1,287
13년 전 조회 1,664
13년 전 조회 1,132
13년 전 조회 625
13년 전 조회 761
13년 전 조회 1,256
13년 전 조회 1,208
가나다라마바사아자차카타파하
13년 전 조회 543
13년 전 조회 3,348
13년 전 조회 1,201
13년 전 조회 4,375
13년 전 조회 779
13년 전 조회 1,764
13년 전 조회 824
13년 전 조회 737
13년 전 조회 1,647
13년 전 조회 619
13년 전 조회 1,585
13년 전 조회 689
13년 전 조회 1,469
13년 전 조회 993
13년 전 조회 4,043
13년 전 조회 2,038
13년 전 조회 868
13년 전 조회 687
13년 전 조회 1,259
13년 전 조회 888
13년 전 조회 1,027
13년 전 조회 2,112
13년 전 조회 765
13년 전 조회 2,818
13년 전 조회 2,808
13년 전 조회 1,083
13년 전 조회 778
13년 전 조회 2,324
13년 전 조회 897
13년 전 조회 1,148
13년 전 조회 683
13년 전 조회 1,804
가나다라마바사아자차카타파하
13년 전 조회 1,096
13년 전 조회 1,156
13년 전 조회 1,505
13년 전 조회 599
13년 전 조회 3,668
13년 전 조회 909
13년 전 조회 1,796
13년 전 조회 1,291
13년 전 조회 661
13년 전 조회 4,651
13년 전 조회 521
13년 전 조회 2,634
13년 전 조회 989
13년 전 조회 656
13년 전 조회 1,020
13년 전 조회 7,791
13년 전 조회 977
13년 전 조회 2,064
13년 전 조회 1,505
13년 전 조회 1,031
🐛 버그신고