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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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년 전 조회 595
13년 전 조회 2,925
13년 전 조회 631
13년 전 조회 824
13년 전 조회 620
13년 전 조회 999
13년 전 조회 941
13년 전 조회 1,205
13년 전 조회 724
13년 전 조회 1,794
13년 전 조회 1,431
13년 전 조회 1,020
13년 전 조회 6,700
13년 전 조회 615
13년 전 조회 990
13년 전 조회 839
13년 전 조회 974
13년 전 조회 1,247
13년 전 조회 844
13년 전 조회 1,110
13년 전 조회 700
13년 전 조회 717
13년 전 조회 1,241
13년 전 조회 3,103
13년 전 조회 677
13년 전 조회 2,102
13년 전 조회 874
13년 전 조회 783
13년 전 조회 1,671
13년 전 조회 1,597
13년 전 조회 615
13년 전 조회 1,512
13년 전 조회 1,945
13년 전 조회 1,343
13년 전 조회 604
13년 전 조회 2,012
13년 전 조회 814
가나다라마바사아자차카타파하
13년 전 조회 594
13년 전 조회 565
13년 전 조회 1,289
13년 전 조회 1,668
13년 전 조회 1,134
13년 전 조회 627
13년 전 조회 765
13년 전 조회 1,261
13년 전 조회 1,210
가나다라마바사아자차카타파하
13년 전 조회 547
13년 전 조회 3,350
13년 전 조회 1,203
13년 전 조회 4,376
13년 전 조회 783
13년 전 조회 1,769
13년 전 조회 828
13년 전 조회 741
13년 전 조회 1,650
13년 전 조회 622
13년 전 조회 1,589
13년 전 조회 691
13년 전 조회 1,472
13년 전 조회 995
13년 전 조회 4,047
13년 전 조회 2,041
13년 전 조회 872
13년 전 조회 690
13년 전 조회 1,262
13년 전 조회 891
13년 전 조회 1,028
13년 전 조회 2,117
13년 전 조회 768
13년 전 조회 2,823
13년 전 조회 2,814
13년 전 조회 1,084
13년 전 조회 783
13년 전 조회 2,326
13년 전 조회 900
13년 전 조회 1,152
13년 전 조회 686
13년 전 조회 1,810
가나다라마바사아자차카타파하
13년 전 조회 1,102
13년 전 조회 1,158
13년 전 조회 1,508
13년 전 조회 603
13년 전 조회 3,672
13년 전 조회 912
13년 전 조회 1,798
13년 전 조회 1,295
13년 전 조회 665
13년 전 조회 4,652
13년 전 조회 525
13년 전 조회 2,639
13년 전 조회 991
13년 전 조회 658
13년 전 조회 1,023
13년 전 조회 7,793
13년 전 조회 981
13년 전 조회 2,066
13년 전 조회 1,508
13년 전 조회 1,034
🐛 버그신고