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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,153
13년 전 조회 1,667
13년 전 조회 602
13년 전 조회 2,937
13년 전 조회 637
13년 전 조회 829
13년 전 조회 628
13년 전 조회 1,005
13년 전 조회 947
13년 전 조회 1,211
13년 전 조회 732
13년 전 조회 1,801
13년 전 조회 1,439
13년 전 조회 1,031
13년 전 조회 6,706
13년 전 조회 624
13년 전 조회 997
13년 전 조회 841
13년 전 조회 981
13년 전 조회 1,263
13년 전 조회 855
13년 전 조회 1,116
13년 전 조회 703
13년 전 조회 726
13년 전 조회 1,250
13년 전 조회 3,108
13년 전 조회 680
13년 전 조회 2,108
13년 전 조회 886
13년 전 조회 791
13년 전 조회 1,679
13년 전 조회 1,605
13년 전 조회 622
13년 전 조회 1,522
13년 전 조회 1,951
13년 전 조회 1,350
13년 전 조회 609
13년 전 조회 2,021
13년 전 조회 821
13년 전 조회 602
13년 전 조회 572
13년 전 조회 1,294
13년 전 조회 1,677
13년 전 조회 1,143
13년 전 조회 631
13년 전 조회 773
13년 전 조회 1,265
13년 전 조회 1,221
13년 전 조회 553
13년 전 조회 3,355
13년 전 조회 1,214
13년 전 조회 4,383
13년 전 조회 787
13년 전 조회 1,774
13년 전 조회 839
13년 전 조회 752
13년 전 조회 1,656
13년 전 조회 630
13년 전 조회 1,595
13년 전 조회 698
13년 전 조회 1,480
13년 전 조회 1,003
13년 전 조회 4,054
13년 전 조회 2,050
13년 전 조회 878
13년 전 조회 695
13년 전 조회 1,269
13년 전 조회 898
13년 전 조회 1,033
13년 전 조회 2,126
13년 전 조회 773
13년 전 조회 2,831
13년 전 조회 2,822
13년 전 조회 1,089
13년 전 조회 789
13년 전 조회 2,329
13년 전 조회 906
13년 전 조회 1,160
13년 전 조회 692
13년 전 조회 1,817
13년 전 조회 1,107
13년 전 조회 1,166
13년 전 조회 1,512
13년 전 조회 613
13년 전 조회 3,679
13년 전 조회 918
13년 전 조회 1,803
13년 전 조회 1,300
13년 전 조회 673
13년 전 조회 4,659
13년 전 조회 529
13년 전 조회 2,649
13년 전 조회 997
13년 전 조회 665
13년 전 조회 1,027
13년 전 조회 7,798
13년 전 조회 983
13년 전 조회 2,071
13년 전 조회 1,512
13년 전 조회 1,042
🐛 버그신고