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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,218
13년 전 조회 1,728
13년 전 조회 673
13년 전 조회 2,998
13년 전 조회 708
13년 전 조회 908
13년 전 조회 693
13년 전 조회 1,076
13년 전 조회 1,016
13년 전 조회 1,280
13년 전 조회 802
13년 전 조회 1,869
13년 전 조회 1,499
13년 전 조회 1,087
13년 전 조회 6,769
13년 전 조회 684
13년 전 조회 1,051
13년 전 조회 894
13년 전 조회 1,043
13년 전 조회 1,329
13년 전 조회 920
13년 전 조회 1,187
13년 전 조회 764
13년 전 조회 792
13년 전 조회 1,313
13년 전 조회 3,176
13년 전 조회 741
13년 전 조회 2,173
13년 전 조회 948
13년 전 조회 848
13년 전 조회 1,744
13년 전 조회 1,671
13년 전 조회 681
13년 전 조회 1,587
13년 전 조회 2,009
13년 전 조회 1,421
13년 전 조회 670
13년 전 조회 2,085
13년 전 조회 885
13년 전 조회 666
13년 전 조회 636
13년 전 조회 1,357
13년 전 조회 1,733
13년 전 조회 1,210
13년 전 조회 701
13년 전 조회 835
13년 전 조회 1,323
13년 전 조회 1,280
13년 전 조회 613
13년 전 조회 3,415
13년 전 조회 1,270
13년 전 조회 4,439
13년 전 조회 845
13년 전 조회 1,835
13년 전 조회 922
13년 전 조회 816
13년 전 조회 1,723
13년 전 조회 694
13년 전 조회 1,665
13년 전 조회 751
13년 전 조회 1,536
13년 전 조회 1,063
13년 전 조회 4,121
13년 전 조회 2,115
13년 전 조회 937
13년 전 조회 765
13년 전 조회 1,322
13년 전 조회 966
13년 전 조회 1,097
13년 전 조회 2,189
13년 전 조회 839
13년 전 조회 2,900
13년 전 조회 2,885
13년 전 조회 1,145
13년 전 조회 841
13년 전 조회 2,381
13년 전 조회 970
13년 전 조회 1,224
13년 전 조회 751
13년 전 조회 1,873
13년 전 조회 1,168
13년 전 조회 1,221
13년 전 조회 1,572
13년 전 조회 663
13년 전 조회 3,739
13년 전 조회 990
13년 전 조회 1,865
13년 전 조회 1,365
13년 전 조회 737
13년 전 조회 4,718
13년 전 조회 584
13년 전 조회 2,708
13년 전 조회 1,044
13년 전 조회 717
13년 전 조회 1,091
13년 전 조회 7,863
13년 전 조회 1,036
13년 전 조회 2,120
13년 전 조회 1,565
13년 전 조회 1,107
🐛 버그신고