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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,150
13년 전 조회 1,663
13년 전 조회 600
13년 전 조회 2,931
13년 전 조회 636
13년 전 조회 826
13년 전 조회 625
13년 전 조회 1,003
13년 전 조회 943
13년 전 조회 1,210
13년 전 조회 726
13년 전 조회 1,799
13년 전 조회 1,435
13년 전 조회 1,027
13년 전 조회 6,704
13년 전 조회 621
13년 전 조회 994
13년 전 조회 841
13년 전 조회 981
13년 전 조회 1,263
13년 전 조회 850
13년 전 조회 1,114
13년 전 조회 702
13년 전 조회 725
13년 전 조회 1,246
13년 전 조회 3,104
13년 전 조회 679
13년 전 조회 2,107
13년 전 조회 882
13년 전 조회 786
13년 전 조회 1,675
13년 전 조회 1,602
13년 전 조회 621
13년 전 조회 1,519
13년 전 조회 1,950
13년 전 조회 1,349
13년 전 조회 608
13년 전 조회 2,017
13년 전 조회 817
13년 전 조회 599
13년 전 조회 570
13년 전 조회 1,293
13년 전 조회 1,674
13년 전 조회 1,141
13년 전 조회 628
13년 전 조회 771
13년 전 조회 1,264
13년 전 조회 1,218
13년 전 조회 549
13년 전 조회 3,354
13년 전 조회 1,211
13년 전 조회 4,382
13년 전 조회 785
13년 전 조회 1,771
13년 전 조회 834
13년 전 조회 747
13년 전 조회 1,654
13년 전 조회 629
13년 전 조회 1,594
13년 전 조회 696
13년 전 조회 1,478
13년 전 조회 1,003
13년 전 조회 4,053
13년 전 조회 2,049
13년 전 조회 877
13년 전 조회 693
13년 전 조회 1,267
13년 전 조회 894
13년 전 조회 1,032
13년 전 조회 2,120
13년 전 조회 770
13년 전 조회 2,826
13년 전 조회 2,820
13년 전 조회 1,088
13년 전 조회 789
13년 전 조회 2,327
13년 전 조회 903
13년 전 조회 1,156
13년 전 조회 690
13년 전 조회 1,816
13년 전 조회 1,106
13년 전 조회 1,163
13년 전 조회 1,512
13년 전 조회 609
13년 전 조회 3,677
13년 전 조회 916
13년 전 조회 1,802
13년 전 조회 1,298
13년 전 조회 668
13년 전 조회 4,658
13년 전 조회 526
13년 전 조회 2,643
13년 전 조회 996
13년 전 조회 664
13년 전 조회 1,025
13년 전 조회 7,797
13년 전 조회 983
13년 전 조회 2,071
13년 전 조회 1,511
13년 전 조회 1,041
🐛 버그신고