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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,138
13년 전 조회 1,647
가나다라마바사아자차카타파하
13년 전 조회 584
13년 전 조회 2,917
13년 전 조회 620
13년 전 조회 813
13년 전 조회 610
13년 전 조회 990
13년 전 조회 929
13년 전 조회 1,197
13년 전 조회 716
13년 전 조회 1,782
13년 전 조회 1,424
13년 전 조회 1,014
13년 전 조회 6,689
13년 전 조회 607
13년 전 조회 979
13년 전 조회 835
13년 전 조회 965
13년 전 조회 1,239
13년 전 조회 838
13년 전 조회 1,101
13년 전 조회 691
13년 전 조회 707
13년 전 조회 1,233
13년 전 조회 3,094
13년 전 조회 668
13년 전 조회 2,094
13년 전 조회 869
13년 전 조회 773
13년 전 조회 1,661
13년 전 조회 1,587
13년 전 조회 606
13년 전 조회 1,502
13년 전 조회 1,936
13년 전 조회 1,333
13년 전 조회 597
13년 전 조회 2,005
13년 전 조회 804
가나다라마바사아자차카타파하
13년 전 조회 585
13년 전 조회 556
13년 전 조회 1,283
13년 전 조회 1,659
13년 전 조회 1,128
13년 전 조회 618
13년 전 조회 756
13년 전 조회 1,253
13년 전 조회 1,204
가나다라마바사아자차카타파하
13년 전 조회 540
13년 전 조회 3,344
13년 전 조회 1,196
13년 전 조회 4,367
13년 전 조회 772
13년 전 조회 1,757
13년 전 조회 817
13년 전 조회 729
13년 전 조회 1,641
13년 전 조회 609
13년 전 조회 1,576
13년 전 조회 683
13년 전 조회 1,462
13년 전 조회 987
13년 전 조회 4,037
13년 전 조회 2,033
13년 전 조회 861
13년 전 조회 677
13년 전 조회 1,253
13년 전 조회 883
13년 전 조회 1,019
13년 전 조회 2,108
13년 전 조회 758
13년 전 조회 2,814
13년 전 조회 2,805
13년 전 조회 1,076
13년 전 조회 774
13년 전 조회 2,320
13년 전 조회 891
13년 전 조회 1,142
13년 전 조회 678
13년 전 조회 1,803
가나다라마바사아자차카타파하
13년 전 조회 1,091
13년 전 조회 1,150
13년 전 조회 1,501
13년 전 조회 594
13년 전 조회 3,663
13년 전 조회 906
13년 전 조회 1,788
13년 전 조회 1,286
13년 전 조회 656
13년 전 조회 4,645
13년 전 조회 515
13년 전 조회 2,630
13년 전 조회 983
13년 전 조회 646
13년 전 조회 1,015
13년 전 조회 7,783
13년 전 조회 975
13년 전 조회 2,060
13년 전 조회 1,501
13년 전 조회 1,028
🐛 버그신고