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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,246
13년 전 조회 1,756
13년 전 조회 697
13년 전 조회 3,025
13년 전 조회 736
13년 전 조회 941
13년 전 조회 731
13년 전 조회 1,104
13년 전 조회 1,047
13년 전 조회 1,307
13년 전 조회 832
13년 전 조회 1,893
13년 전 조회 1,530
13년 전 조회 1,122
13년 전 조회 6,812
13년 전 조회 721
13년 전 조회 1,088
13년 전 조회 915
13년 전 조회 1,080
13년 전 조회 1,355
13년 전 조회 957
13년 전 조회 1,214
13년 전 조회 792
13년 전 조회 820
13년 전 조회 1,348
13년 전 조회 3,224
13년 전 조회 772
13년 전 조회 2,207
13년 전 조회 986
13년 전 조회 883
13년 전 조회 1,776
13년 전 조회 1,707
13년 전 조회 714
13년 전 조회 1,622
13년 전 조회 2,041
13년 전 조회 1,456
13년 전 조회 709
13년 전 조회 2,116
13년 전 조회 924
13년 전 조회 700
13년 전 조회 662
13년 전 조회 1,386
13년 전 조회 1,780
13년 전 조회 1,242
13년 전 조회 730
13년 전 조회 873
13년 전 조회 1,355
13년 전 조회 1,311
13년 전 조회 649
13년 전 조회 3,441
13년 전 조회 1,306
13년 전 조회 4,468
13년 전 조회 876
13년 전 조회 1,870
13년 전 조회 949
13년 전 조회 858
13년 전 조회 1,761
13년 전 조회 726
13년 전 조회 1,695
13년 전 조회 786
13년 전 조회 1,566
13년 전 조회 1,096
13년 전 조회 4,157
13년 전 조회 2,153
13년 전 조회 974
13년 전 조회 803
13년 전 조회 1,365
13년 전 조회 998
13년 전 조회 1,125
13년 전 조회 2,216
13년 전 조회 876
13년 전 조회 2,928
13년 전 조회 2,921
13년 전 조회 1,182
13년 전 조회 882
13년 전 조회 2,407
13년 전 조회 1,008
13년 전 조회 1,263
13년 전 조회 788
13년 전 조회 1,909
13년 전 조회 1,209
13년 전 조회 1,263
13년 전 조회 1,590
13년 전 조회 699
13년 전 조회 3,774
13년 전 조회 1,030
13년 전 조회 1,902
13년 전 조회 1,398
13년 전 조회 772
13년 전 조회 4,750
13년 전 조회 620
13년 전 조회 2,741
13년 전 조회 1,086
13년 전 조회 753
13년 전 조회 1,124
13년 전 조회 7,898
13년 전 조회 1,062
13년 전 조회 2,153
13년 전 조회 1,596
13년 전 조회 1,140
🐛 버그신고