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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,142
13년 전 조회 1,655
가나다라마바사아자차카타파하
13년 전 조회 591
13년 전 조회 2,921
13년 전 조회 628
13년 전 조회 820
13년 전 조회 618
13년 전 조회 996
13년 전 조회 939
13년 전 조회 1,201
13년 전 조회 722
13년 전 조회 1,791
13년 전 조회 1,426
13년 전 조회 1,016
13년 전 조회 6,695
13년 전 조회 613
13년 전 조회 987
13년 전 조회 837
13년 전 조회 972
13년 전 조회 1,244
13년 전 조회 842
13년 전 조회 1,108
13년 전 조회 696
13년 전 조회 715
13년 전 조회 1,239
13년 전 조회 3,101
13년 전 조회 676
13년 전 조회 2,099
13년 전 조회 873
13년 전 조회 779
13년 전 조회 1,667
13년 전 조회 1,594
13년 전 조회 614
13년 전 조회 1,508
13년 전 조회 1,939
13년 전 조회 1,338
13년 전 조회 602
13년 전 조회 2,009
13년 전 조회 813
가나다라마바사아자차카타파하
13년 전 조회 589
13년 전 조회 562
13년 전 조회 1,289
13년 전 조회 1,664
13년 전 조회 1,132
13년 전 조회 625
13년 전 조회 762
13년 전 조회 1,258
13년 전 조회 1,208
가나다라마바사아자차카타파하
13년 전 조회 544
13년 전 조회 3,349
13년 전 조회 1,202
13년 전 조회 4,375
13년 전 조회 779
13년 전 조회 1,765
13년 전 조회 824
13년 전 조회 737
13년 전 조회 1,647
13년 전 조회 620
13년 전 조회 1,585
13년 전 조회 689
13년 전 조회 1,469
13년 전 조회 994
13년 전 조회 4,043
13년 전 조회 2,039
13년 전 조회 869
13년 전 조회 688
13년 전 조회 1,259
13년 전 조회 890
13년 전 조회 1,028
13년 전 조회 2,114
13년 전 조회 767
13년 전 조회 2,819
13년 전 조회 2,809
13년 전 조회 1,084
13년 전 조회 780
13년 전 조회 2,324
13년 전 조회 897
13년 전 조회 1,150
13년 전 조회 683
13년 전 조회 1,805
가나다라마바사아자차카타파하
13년 전 조회 1,099
13년 전 조회 1,157
13년 전 조회 1,506
13년 전 조회 599
13년 전 조회 3,668
13년 전 조회 910
13년 전 조회 1,796
13년 전 조회 1,291
13년 전 조회 664
13년 전 조회 4,651
13년 전 조회 523
13년 전 조회 2,634
13년 전 조회 989
13년 전 조회 656
13년 전 조회 1,021
13년 전 조회 7,791
13년 전 조회 978
13년 전 조회 2,065
13년 전 조회 1,506
13년 전 조회 1,032
🐛 버그신고