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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,147
13년 전 조회 1,659
가나다라마바사아자차카타파하
13년 전 조회 597
13년 전 조회 2,927
13년 전 조회 631
13년 전 조회 824
13년 전 조회 621
13년 전 조회 1,001
13년 전 조회 942
13년 전 조회 1,208
13년 전 조회 724
13년 전 조회 1,795
13년 전 조회 1,432
13년 전 조회 1,022
13년 전 조회 6,702
13년 전 조회 616
13년 전 조회 992
13년 전 조회 839
13년 전 조회 976
13년 전 조회 1,250
13년 전 조회 847
13년 전 조회 1,112
13년 전 조회 701
13년 전 조회 720
13년 전 조회 1,243
13년 전 조회 3,103
13년 전 조회 678
13년 전 조회 2,104
13년 전 조회 877
13년 전 조회 783
13년 전 조회 1,673
13년 전 조회 1,598
13년 전 조회 615
13년 전 조회 1,514
13년 전 조회 1,947
13년 전 조회 1,344
13년 전 조회 604
13년 전 조회 2,012
13년 전 조회 814
가나다라마바사아자차카타파하
13년 전 조회 597
13년 전 조회 565
13년 전 조회 1,290
13년 전 조회 1,669
13년 전 조회 1,135
13년 전 조회 627
13년 전 조회 768
13년 전 조회 1,262
13년 전 조회 1,212
가나다라마바사아자차카타파하
13년 전 조회 547
13년 전 조회 3,351
13년 전 조회 1,206
13년 전 조회 4,378
13년 전 조회 783
13년 전 조회 1,769
13년 전 조회 829
13년 전 조회 742
13년 전 조회 1,651
13년 전 조회 625
13년 전 조회 1,589
13년 전 조회 692
13년 전 조회 1,475
13년 전 조회 997
13년 전 조회 4,048
13년 전 조회 2,043
13년 전 조회 872
13년 전 조회 691
13년 전 조회 1,262
13년 전 조회 892
13년 전 조회 1,028
13년 전 조회 2,118
13년 전 조회 769
13년 전 조회 2,825
13년 전 조회 2,814
13년 전 조회 1,086
13년 전 조회 786
13년 전 조회 2,327
13년 전 조회 900
13년 전 조회 1,154
13년 전 조회 686
13년 전 조회 1,812
가나다라마바사아자차카타파하
13년 전 조회 1,103
13년 전 조회 1,160
13년 전 조회 1,509
13년 전 조회 605
13년 전 조회 3,672
13년 전 조회 913
13년 전 조회 1,798
13년 전 조회 1,295
13년 전 조회 665
13년 전 조회 4,654
13년 전 조회 525
13년 전 조회 2,639
13년 전 조회 991
13년 전 조회 660
13년 전 조회 1,023
13년 전 조회 7,793
13년 전 조회 982
13년 전 조회 2,067
13년 전 조회 1,508
13년 전 조회 1,036
🐛 버그신고