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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,166
13년 전 조회 1,684
13년 전 조회 625
13년 전 조회 2,955
13년 전 조회 655
13년 전 조회 850
13년 전 조회 643
13년 전 조회 1,029
13년 전 조회 962
13년 전 조회 1,225
13년 전 조회 752
13년 전 조회 1,819
13년 전 조회 1,455
13년 전 조회 1,038
13년 전 조회 6,720
13년 전 조회 643
13년 전 조회 1,012
13년 전 조회 851
13년 전 조회 996
13년 전 조회 1,284
13년 전 조회 878
13년 전 조회 1,130
13년 전 조회 720
13년 전 조회 744
13년 전 조회 1,264
13년 전 조회 3,127
13년 전 조회 701
13년 전 조회 2,127
13년 전 조회 903
13년 전 조회 804
13년 전 조회 1,694
13년 전 조회 1,621
13년 전 조회 637
13년 전 조회 1,541
13년 전 조회 1,973
13년 전 조회 1,368
13년 전 조회 623
13년 전 조회 2,037
13년 전 조회 838
13년 전 조회 622
13년 전 조회 588
13년 전 조회 1,305
13년 전 조회 1,689
13년 전 조회 1,159
13년 전 조회 646
13년 전 조회 790
13년 전 조회 1,284
13년 전 조회 1,229
13년 전 조회 571
13년 전 조회 3,373
13년 전 조회 1,229
13년 전 조회 4,394
13년 전 조회 798
13년 전 조회 1,788
13년 전 조회 856
13년 전 조회 767
13년 전 조회 1,673
13년 전 조회 649
13년 전 조회 1,614
13년 전 조회 714
13년 전 조회 1,494
13년 전 조회 1,017
13년 전 조회 4,070
13년 전 조회 2,066
13년 전 조회 897
13년 전 조회 709
13년 전 조회 1,285
13년 전 조회 913
13년 전 조회 1,044
13년 전 조회 2,141
13년 전 조회 791
13년 전 조회 2,842
13년 전 조회 2,837
13년 전 조회 1,098
13년 전 조회 803
13년 전 조회 2,340
13년 전 조회 922
13년 전 조회 1,173
13년 전 조회 704
13년 전 조회 1,829
13년 전 조회 1,121
13년 전 조회 1,178
13년 전 조회 1,522
13년 전 조회 624
13년 전 조회 3,690
13년 전 조회 940
13년 전 조회 1,816
13년 전 조회 1,313
13년 전 조회 692
13년 전 조회 4,674
13년 전 조회 547
13년 전 조회 2,659
13년 전 조회 1,007
13년 전 조회 678
13년 전 조회 1,047
13년 전 조회 7,813
13년 전 조회 995
13년 전 조회 2,081
13년 전 조회 1,523
13년 전 조회 1,060
🐛 버그신고