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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,136
13년 전 조회 1,647
가나다라마바사아자차카타파하
13년 전 조회 582
13년 전 조회 2,916
13년 전 조회 620
13년 전 조회 812
13년 전 조회 608
13년 전 조회 987
13년 전 조회 927
13년 전 조회 1,195
13년 전 조회 713
13년 전 조회 1,780
13년 전 조회 1,422
13년 전 조회 1,013
13년 전 조회 6,687
13년 전 조회 605
13년 전 조회 979
13년 전 조회 835
13년 전 조회 964
13년 전 조회 1,236
13년 전 조회 836
13년 전 조회 1,098
13년 전 조회 689
13년 전 조회 704
13년 전 조회 1,232
13년 전 조회 3,089
13년 전 조회 666
13년 전 조회 2,094
13년 전 조회 867
13년 전 조회 772
13년 전 조회 1,659
13년 전 조회 1,586
13년 전 조회 606
13년 전 조회 1,500
13년 전 조회 1,935
13년 전 조회 1,332
13년 전 조회 594
13년 전 조회 2,005
13년 전 조회 804
가나다라마바사아자차카타파하
13년 전 조회 584
13년 전 조회 554
13년 전 조회 1,283
13년 전 조회 1,657
13년 전 조회 1,124
13년 전 조회 617
13년 전 조회 756
13년 전 조회 1,252
13년 전 조회 1,202
가나다라마바사아자차카타파하
13년 전 조회 539
13년 전 조회 3,343
13년 전 조회 1,195
13년 전 조회 4,367
13년 전 조회 771
13년 전 조회 1,755
13년 전 조회 816
13년 전 조회 728
13년 전 조회 1,640
13년 전 조회 609
13년 전 조회 1,576
13년 전 조회 681
13년 전 조회 1,462
13년 전 조회 987
13년 전 조회 4,037
13년 전 조회 2,033
13년 전 조회 860
13년 전 조회 676
13년 전 조회 1,252
13년 전 조회 881
13년 전 조회 1,019
13년 전 조회 2,107
13년 전 조회 754
13년 전 조회 2,812
13년 전 조회 2,804
13년 전 조회 1,076
13년 전 조회 774
13년 전 조회 2,320
13년 전 조회 890
13년 전 조회 1,142
13년 전 조회 677
13년 전 조회 1,803
가나다라마바사아자차카타파하
13년 전 조회 1,091
13년 전 조회 1,150
13년 전 조회 1,501
13년 전 조회 594
13년 전 조회 3,663
13년 전 조회 905
13년 전 조회 1,787
13년 전 조회 1,286
13년 전 조회 654
13년 전 조회 4,644
13년 전 조회 513
13년 전 조회 2,629
13년 전 조회 982
13년 전 조회 645
13년 전 조회 1,014
13년 전 조회 7,783
13년 전 조회 973
13년 전 조회 2,060
13년 전 조회 1,501
13년 전 조회 1,027
🐛 버그신고