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

추천좀 부탁드릴께요.. 개발 의뢰를 하고 싶은데, 다른 분들 내용을 보지 못해서 제대로 의뢰를 할 수 있는지 알 수가 없습니다. 현재 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,157
13년 전 조회 1,671
13년 전 조회 604
13년 전 조회 2,940
13년 전 조회 641
13년 전 조회 834
13년 전 조회 630
13년 전 조회 1,008
13년 전 조회 948
13년 전 조회 1,212
13년 전 조회 736
13년 전 조회 1,804
13년 전 조회 1,442
13년 전 조회 1,033
13년 전 조회 6,709
13년 전 조회 627
13년 전 조회 999
13년 전 조회 841
13년 전 조회 983
13년 전 조회 1,265
13년 전 조회 857
13년 전 조회 1,121
13년 전 조회 708
13년 전 조회 730
13년 전 조회 1,255
13년 전 조회 3,113
13년 전 조회 686
13년 전 조회 2,111
13년 전 조회 890
13년 전 조회 793
13년 전 조회 1,683
13년 전 조회 1,606
13년 전 조회 624
13년 전 조회 1,524
13년 전 조회 1,955
13년 전 조회 1,353
13년 전 조회 612
13년 전 조회 2,023
13년 전 조회 823
13년 전 조회 604
13년 전 조회 574
13년 전 조회 1,298
13년 전 조회 1,677
13년 전 조회 1,143
13년 전 조회 633
13년 전 조회 776
13년 전 조회 1,269
13년 전 조회 1,224
13년 전 조회 556
13년 전 조회 3,358
13년 전 조회 1,219
13년 전 조회 4,387
13년 전 조회 790
13년 전 조회 1,777
13년 전 조회 841
13년 전 조회 756
13년 전 조회 1,660
13년 전 조회 634
13년 전 조회 1,598
13년 전 조회 700
13년 전 조회 1,483
13년 전 조회 1,006
13년 전 조회 4,058
13년 전 조회 2,055
13년 전 조회 883
13년 전 조회 700
13년 전 조회 1,273
13년 전 조회 902
13년 전 조회 1,035
13년 전 조회 2,129
13년 전 조회 778
13년 전 조회 2,833
13년 전 조회 2,825
13년 전 조회 1,093
13년 전 조회 791
13년 전 조회 2,332
13년 전 조회 907
13년 전 조회 1,164
13년 전 조회 695
13년 전 조회 1,819
13년 전 조회 1,114
13년 전 조회 1,168
13년 전 조회 1,515
13년 전 조회 616
13년 전 조회 3,681
13년 전 조회 922
13년 전 조회 1,806
13년 전 조회 1,301
13년 전 조회 679
13년 전 조회 4,661
13년 전 조회 531
13년 전 조회 2,651
13년 전 조회 998
13년 전 조회 666
13년 전 조회 1,034
13년 전 조회 7,802
13년 전 조회 985
13년 전 조회 2,073
13년 전 조회 1,517
13년 전 조회 1,047
🐛 버그신고