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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,132
13년 전 조회 1,644
가나다라마바사아자차카타파하
13년 전 조회 578
13년 전 조회 2,912
13년 전 조회 615
13년 전 조회 809
13년 전 조회 604
13년 전 조회 985
13년 전 조회 926
13년 전 조회 1,192
13년 전 조회 710
13년 전 조회 1,778
13년 전 조회 1,420
13년 전 조회 1,011
13년 전 조회 6,685
13년 전 조회 601
13년 전 조회 977
13년 전 조회 833
13년 전 조회 963
13년 전 조회 1,234
13년 전 조회 832
13년 전 조회 1,096
13년 전 조회 687
13년 전 조회 702
13년 전 조회 1,230
13년 전 조회 3,087
13년 전 조회 663
13년 전 조회 2,091
13년 전 조회 865
13년 전 조회 770
13년 전 조회 1,658
13년 전 조회 1,584
13년 전 조회 603
13년 전 조회 1,500
13년 전 조회 1,934
13년 전 조회 1,332
13년 전 조회 591
13년 전 조회 2,004
13년 전 조회 801
가나다라마바사아자차카타파하
13년 전 조회 584
13년 전 조회 552
13년 전 조회 1,280
13년 전 조회 1,655
13년 전 조회 1,120
13년 전 조회 614
13년 전 조회 752
13년 전 조회 1,251
13년 전 조회 1,199
가나다라마바사아자차카타파하
13년 전 조회 537
13년 전 조회 3,340
13년 전 조회 1,193
13년 전 조회 4,366
13년 전 조회 770
13년 전 조회 1,753
13년 전 조회 814
13년 전 조회 728
13년 전 조회 1,638
13년 전 조회 607
13년 전 조회 1,576
13년 전 조회 681
13년 전 조회 1,462
13년 전 조회 987
13년 전 조회 4,037
13년 전 조회 2,032
13년 전 조회 859
13년 전 조회 676
13년 전 조회 1,250
13년 전 조회 878
13년 전 조회 1,018
13년 전 조회 2,106
13년 전 조회 754
13년 전 조회 2,809
13년 전 조회 2,803
13년 전 조회 1,075
13년 전 조회 772
13년 전 조회 2,317
13년 전 조회 889
13년 전 조회 1,141
13년 전 조회 675
13년 전 조회 1,802
가나다라마바사아자차카타파하
13년 전 조회 1,090
13년 전 조회 1,148
13년 전 조회 1,499
13년 전 조회 592
13년 전 조회 3,662
13년 전 조회 903
13년 전 조회 1,785
13년 전 조회 1,284
13년 전 조회 652
13년 전 조회 4,641
13년 전 조회 512
13년 전 조회 2,627
13년 전 조회 979
13년 전 조회 643
13년 전 조회 1,012
13년 전 조회 7,781
13년 전 조회 972
13년 전 조회 2,058
13년 전 조회 1,499
13년 전 조회 1,024
🐛 버그신고