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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,159
13년 전 조회 1,674
13년 전 조회 609
13년 전 조회 2,940
13년 전 조회 643
13년 전 조회 834
13년 전 조회 631
13년 전 조회 1,008
13년 전 조회 949
13년 전 조회 1,214
13년 전 조회 736
13년 전 조회 1,804
13년 전 조회 1,445
13년 전 조회 1,034
13년 전 조회 6,712
13년 전 조회 627
13년 전 조회 1,002
13년 전 조회 842
13년 전 조회 984
13년 전 조회 1,267
13년 전 조회 860
13년 전 조회 1,121
13년 전 조회 711
13년 전 조회 731
13년 전 조회 1,258
13년 전 조회 3,117
13년 전 조회 686
13년 전 조회 2,112
13년 전 조회 891
13년 전 조회 794
13년 전 조회 1,684
13년 전 조회 1,608
13년 전 조회 624
13년 전 조회 1,525
13년 전 조회 1,957
13년 전 조회 1,353
13년 전 조회 614
13년 전 조회 2,024
13년 전 조회 825
13년 전 조회 606
13년 전 조회 575
13년 전 조회 1,299
13년 전 조회 1,679
13년 전 조회 1,147
13년 전 조회 635
13년 전 조회 777
13년 전 조회 1,270
13년 전 조회 1,224
13년 전 조회 557
13년 전 조회 3,359
13년 전 조회 1,220
13년 전 조회 4,388
13년 전 조회 790
13년 전 조회 1,777
13년 전 조회 843
13년 전 조회 756
13년 전 조회 1,660
13년 전 조회 635
13년 전 조회 1,599
13년 전 조회 700
13년 전 조회 1,484
13년 전 조회 1,008
13년 전 조회 4,060
13년 전 조회 2,055
13년 전 조회 883
13년 전 조회 700
13년 전 조회 1,276
13년 전 조회 902
13년 전 조회 1,036
13년 전 조회 2,131
13년 전 조회 779
13년 전 조회 2,833
13년 전 조회 2,825
13년 전 조회 1,094
13년 전 조회 793
13년 전 조회 2,333
13년 전 조회 909
13년 전 조회 1,167
13년 전 조회 698
13년 전 조회 1,821
13년 전 조회 1,115
13년 전 조회 1,170
13년 전 조회 1,517
13년 전 조회 616
13년 전 조회 3,684
13년 전 조회 923
13년 전 조회 1,807
13년 전 조회 1,302
13년 전 조회 680
13년 전 조회 4,662
13년 전 조회 534
13년 전 조회 2,651
13년 전 조회 999
13년 전 조회 666
13년 전 조회 1,037
13년 전 조회 7,803
13년 전 조회 985
13년 전 조회 2,074
13년 전 조회 1,518
13년 전 조회 1,049
🐛 버그신고